The "no gc" crowd
deadalnix
deadalnix at gmail.com
Wed Oct 9 09:26:26 PDT 2013
On Wednesday, 9 October 2013 at 15:53:13 UTC, Sean Kelly wrote:
> If the GC can determine whether a block is shared at allocation
> time, it can allocate the block from a thread-local pool in the
> unshared case. So if a collection is necessary, no global stop
> the world need occur. Only the current thread's roots are
> scanned. It's a huge performance gain in a concurrent program.
> Particularly in a language like D where data is thread-local
> by default.
Yes, we have this awesome mecanism and we aren't using it.
More information about the Digitalmars-d
mailing list