ZGC: A Scalable Low-Latency Garbage Collector
summary
ZGC is available as an JDK 11 experimental collector on Linux x86_64 that targets multi-terabyte heaps by using colored pointers (42-bit addresses, 4 color bits) and cheap load barriers to do marking and compaction concurrently. Benchmarks claim ~36% higher throughput on a latency-sensitive industry test while never exceeding max pause ≤ 2 ms; load-barrier overhead shows about 4% on SPECjbb2015. Tuning focuses on max heap and concurrent GC threads to provide enough headroom while the collector runs.
AI-written summary · about
chapters (12)
- 0:00Agenda
- 0:42Basics
- 6:17GC Cycle
- 9:35Color Pointer
- 12:40Example
- 15:01Performance
- 18:00Configuration
- 22:53Detail Log
- 26:35Future Plans
- 32:30Wrap Up
- 33:55Questions
- 42:00Results
related talks
39mZGC: The Next Generation Low-Latency Garbage Collector
19mZ Garbage Collector: The Next Generation
48mZGC: A Decade of Redefining Java Performance
39mZGC - Paving the GC On-Ramp
25mGarbage Collection Primer
47mConcurrent Garbage Collectors: ZGC & Shenandoah
49mConcurrent Garbage Collectors: ZGC & Shenandoah
34mGenerational ZGC and Beyond
