Shenandoah: The Garbage Collector That Could
summary
Shenandoah is a Java garbage collector that focuses on reducing pause times by moving objects without stopping the application. The talk covers the collector’s design and implementation details, contrasting its concurrent marking and concurrent evacuation approach with traditional generational GCs, and discusses its strengths and trade-offs.
AI-written summary · about
chapters (20)
- 0:00Shenandoah GC intro
- 3:01What is Shenandoah GC
- 7:13GC cycle overview
- 10:02Finding garbage
- 12:59Three-color abstraction
- 16:34Barriers in GC
- 20:43Concurrent copying
- 24:33Forwarding pointers
- 27:13Read barriers overhead
- 30:24Write barriers
- 33:14Barriers impact
- 37:25Equality checks
- 40:15Concurrent GC cost
- 42:45Partial collections
- 45:40G1 GC and card tables
- 48:14Generational hypothesis
- 50:04Testing Shenandoah
- 52:10GC performance comparison
- 54:17Shenandoah under pressure
- 55:43Choosing GC
