A garbage collector uses the results a whole-heap marking operation to
select collection sets for subsequent collection. It repeatedly
calculates a measure of the cumulative collection efficiency since the
marking operation, and it initiates another marking operation when the
cumulative efficiency begins to deteriorate.