Concurrent Garbage Collectors: ZGC & Shenandoah
summary
Covers how ZGC and Shenandoah implement concurrent compaction to cut GC pauses from tens of milliseconds to about 2 ms in the presenter’s Jetty benchmarks; ZGC (OpenJDK 11+) uses colored pointers and a load GC barrier, is Linux x86_64 only today, and can inflate RSS via mmaped aliasing; Shenandoah runs on many platforms including JDK 8/11, uses forward pointers stored in the mark word plus load and write barriers, trades small memory/CPU overhead for broader portability and similar pause reductions.
AI-written summary · about
chapters (14)
- 0:00Intro
- 6:40The Problem
- 10:17ZGC
- 12:24Colored pointers
- 13:31Virtual memory
- 16:55Load GC barrier
- 19:22Atomic operation
- 19:53Garbage collector phases
- 24:05Remap
- 24:25Relocation
- 28:56ZGC Algorithm
- 30:17Shenandoah
- 36:00Load Barriers
- 39:52Shenandoah Phases
related talks
49mConcurrent Garbage Collectors: ZGC & Shenandoah
01h 01mOpenJDK: In the new age of Concurrent Garbage Collectors
19mZ Garbage Collector: The Next Generation
46mZGC: A Scalable Low-Latency Garbage Collector
39mZGC: The Next Generation Low-Latency Garbage Collector
45mNew GC Algorithms in Java
01h 32mUnderstanding Java Garbage Collection and what you can do about it
56mShenandoah: The Garbage Collector That Could
