March 2019
Intermediate to advanced
242 pages
6h 21m
English
A GC cycle of ZGC includes multiple phases:
In the first phase, Pause Mark Start, ZGC marks objects that have been pointed to by roots. This includes walking through the live set of objects, and then finding and marking them. This is by far one of the most heavy-duty workloads in the ZGC GC cycle.
Once this completes, the next cycle is Pause Mark Start, which is used for synchronization and starts with a short pause of 1 ms. In this second phase, ZGC starts with reference processing and moves to week-root cleaning. It also includes the relocation set selection. ZGC marks the regions it wants to compact.
The next step, Pause Relocate Start, triggers the actual region compaction. ...
Read now
Unlock full access