On Mon, 14 May 2012 17:11:14 -0400, Alex Rønne Petersen
<[email protected]> wrote:

Another concern I have is that this couples a feature tightly to the implementation of the GC. What if another GC doesn't use the same allocation scheme?

newScratchSpace uses GC.malloc to ensure the block is big enough.  The GC
must support returning a block of memory large enough to hold the
requested bytes.

It's not tightly coupled, even though it depends on the GC.

-Steve

Reply via email to