October 2024
Intermediate to advanced
780 pages
24h 55m
English
After the Mark phase, all objects have been identified as reachable or not. Those reachable are marked by a dedicated bit. Some of the marked objects may be additionally marked as pinned by another bit. At this moment, the Garbage Collector has all the necessary information to continue its job. But the question arises – should it proceed with a Sweep or a Compact collection?
Instead of guessing based on previous collections, the GC can try to calculate ...
Read now
Unlock full access