// if the GC kicks in here we're f***** GC.addRange(mem, 512);Can't you GC.disable around this whole thing?
GC.collect can still be called from another thread.
// if the GC kicks in here we're f***** GC.addRange(mem, 512);Can't you GC.disable around this whole thing?
GC.collect can still be called from another thread.