Shared keyword and the GC?

sclytrack sclytrack at iq87.com
Fri Oct 19 05:25:19 PDT 2012


> Thread-local GC is all about improving scalability by only 
> stopping threads that need to be stopped. If you can't even do 
> that, then any effort towards thread-local GC is quite 
> pointless IMO.

Maybe the goal is to run the thread local garbage collectors very 
frequently and the stop-the-world one's just occasionally. Once 
your thread has shared in it must participate in the 
stop-the-world ones. Maybe the threads needs to register to both 
the thread local garbage collector and the global stop-the-world 
garbage collector.



More information about the Digitalmars-d mailing list