(-‐XX:ParallelGCThreads=n) – Stop the world – Logically divided into fixed-‐sized regions – Cleans regions with more garbage – Copy compac+on – Lea dense, right free Parallel Compac+ng Collector -‐XX:+UseParallelOldGC
Goal – -‐XX:GCTimeRa+o=n [1 : (1+n)] • Footprint Goal – Reduces the footprint un+l only one of the above goals is met – Goal Priori+es – Maximum Pause Time, Throughput, Footprint in that order Behavior-‐based Tuning
Marking • Remark -‐ Stop the World Event -‐ completely empty regions are reclaimed • Copying/Cleanup: Regions with max garbage are reclaimed in the available +me – concurrent for most part Garbage-‐First Collector -‐XX:+UseG1GC