enable ExplicitMemory
use GC if containsPtrs