G1's Region Evacuation vs. Legacy Full Scans

G1 significantly reduces pause times by evacuating and compacting only select regions (young or high-garbage old) rather than the entire heap or generation, a distinct advantage over older collectors like Parallel GC's full heap compaction or CMS's lack of compaction.

Sources

Open the full topic