4 ms·
> it ate through about 4GB/s of garbage Perhaps a nitpick: 'moving' garbage collectors [0] like Shenandoah don't 'eat through' memory occupied by now-unreachab
by MaxBarraclough 5y ago
> it ate through about 4GB/s of garbage
Perhaps a nitpick: 'moving' garbage collectors [0] like Shenandoah don't 'eat through' memory occupied by now-unreachable objects. They work by copying/moving the still-reachable objects. Their performance is a function of the number of still-reachable objects, and their size, rather than the unreachable objects.
[0] https://en.wikipedia.org/wiki/Tracing_garbage_collection#Moving_vs._non-moving https://en.wikipedia.org/wiki/Tracing_garbage_collection#Mov...