On Thu, 05 Nov 2009 17:11:38 -0500, Walter Bright <[email protected]> wrote:

dsimcha wrote:
Ok, I understand the basic principle of a reap, but if it's going to convert to a heap when you try to delete something, why not just improve the standard GC heap,
i.e. by making per-thread heaps?

The problem with per-thread heaps is immutable data can be passed between threads.

I always assumed that with thread local heaps, both immutable and shared data would be allocated from a shared heap. Also, the shared heap should use some form of thread local allocation.

Reply via email to