Z Garbage Collector: The Next Generation
summary
Z Garbage Collector (ZGC) is a concurrent, region‑based, compacting collector that uses load barriers and colored pointers to move most work off pause points and deliver sub‑millisecond pauses. It first appears as experimental in JDK 11 and is production‑ready since JDK 15, supports x86/ARM/Power/RISC‑V on Linux/Windows/Mac, and auto‑tunes GC threads and generation sizing so the only usual knob is max heap. Early generational ZGC reports ~30 μs average, ~200 μs max pauses and achieves 4× throughput while using ~25% of memory versus non‑generational ZGC.
AI-written summary · about
chapters (7)
- 0:00Introduction
- 0:20Different Collectors
- 3:16Development Timeline
- 7:50Performance
- 9:28Performance Tuning
- 10:56Support for Generations
- 16:31Resources
related talks
39mZGC: The Next Generation Low-Latency Garbage Collector
46mZGC: A Scalable Low-Latency Garbage Collector
49mConcurrent Garbage Collectors: ZGC & Shenandoah
25mGarbage Collection Primer
47mConcurrent Garbage Collectors: ZGC & Shenandoah
48mZGC: A Decade of Redefining Java Performance
39mZGC - Paving the GC On-Ramp
34mGenerational ZGC and Beyond
