[Vm-dev] [Pharo-dev] is there a way to know when a GC is happening?

Stéphane Rollandin lecteur at zogotounga.net
Thu Sep 10 10:54:12 UTC 2020


>   Soon I hope that the 
> Spur VM will have a proper incremental global GC. This will comprise a 
> mark-sweep collector and a compactor fort old space, but both will 
> operate incrementally.  The mark phase will be done in increments, 
> allowing very small pause times as marking proceeds.  Likewise sweeping 
> to free objects and especially compacting, to coalesce storage, will be 
> done in small increments.  So there will be pause times of the order of 
> 2 or 3 millisecondes due to the incremental collector and overall the 
> system will avoid the relatively long pauses the global GC causes.

Excellent!

Stef


More information about the Vm-dev mailing list