Thread GC non "stop-the-world"

via Digitalmars-d digitalmars-d at puremagic.com
Tue Sep 23 08:28:29 PDT 2014


On Tuesday, 23 September 2014 at 15:23:16 UTC, Kagamin wrote:
> And what GC does? Pins the allocated blocks for another thread?

Assuming there is one thread-local GC per thread, it transfers 
responsibility of the allocated data from the sender to the 
receiver. This means, the old GC doesn't need to scan it any 
more, but the new one does.


More information about the Digitalmars-d mailing list