ZGC - Paving the GC On-Ramp
summary
ZGC is a concurrent, low‑latency collector claiming submillisecond pauses and terabyte heap scalability; a generational ZGC is shipping to isolate young collections and avoid scanning large old heaps. Automatic heap sizing starts from 16 MB, grows quickly, and balances resources with weak GC and strong GC forces to avoid allocation stalls and OOMs. Concurrent priming pages memory and enables large pages for roughly +15% throughput, and a new mapped‑cache reduces virtual mappings so kernel tuning becomes unnecessary.
AI-written summary · about
chapters (9)
- 0:00Introduction to ZGC
- 3:37Paving the GC on-ramp
- 6:16Configurability and trade-offs
- 11:02Manual heap sizing challenges
- 13:40Automatic heap sizing
- 24:26Large page trade-offs
- 29:49Concurrent priming
- 32:49Mapping and memory efficiency
- 34:51Conclusion and Q&A
related talks
48mZGC Automatic Heap Sizing
39mZGC: The Next Generation Low-Latency Garbage Collector
46mZGC: A Scalable Low-Latency Garbage Collector
48mZGC: A Decade of Redefining Java Performance
19mZ Garbage Collector: The Next Generation
34mGenerational ZGC and Beyond
25mGarbage Collection Primer
15mThree flavors of generational GC: G1, ZGC, Shenandoah
