Concurrent GC (for Windows)

Martin Nowak via Digitalmars-d digitalmars-d at puremagic.com
Sun Jun 15 14:30:42 PDT 2014


On 06/04/2014 10:37 PM, Rainer Schuetze wrote:
> Most of the remaining pause time is sweeping garbage. I think about
> deferring sweeping into allocations by running finalizers just before
> reusing the memory for another object. This can throttle allocations a
> bit while at the same time reduce pauses.

That's pausing the thread which triggered the collection, right?
Other threads don't need to wait for sweeping.
Dividing the cost to run finalizers among many allocations is a charming 
idea.


More information about the Digitalmars-d mailing list