~/talk

Concurrent Garbage collectors: ZGC & Shenandoah

Talkat Joker 2019 · 2019-10-25..10-26· [java]
slides:none on file

Java 11/12 add ZGC and Shenandoah, both single-generation collectors that do concurrent marking and concurrent compaction to cut pauses from tens of milliseconds to a few or under one millisecond in tested workloads. ZGC uses colored pointers plus a cheap load barrier (measured ~4% CPU hit) and requires 64-bit Linux and triple virtual-to-physical mapping (RSS can appear 3x, triggering cloud OOM killers). Shenandoah uses Brooks/forward pointers (1.0) and a simpler 2.0 invariant, is multi-platform and backported to JDK 8/11.

AI-written summary · about

  1. 0:00Introduction to garbage collection
  2. 1:45Problems with stop-the-world GC
  3. 3:52G1 garbage collector overview
  4. 5:17ZGC and Shenandoah introduction
  5. 9:16Concurrency challenges in GC
  6. 10:19ZGC deep dive
  7. 17:12ZGC race condition solution
  8. 25:43ZGC relocation example
  9. 32:29Shenandoah overview
  10. 37:58Shenandoah Brooks pointers
  11. 41:32Shenandoah 1.0 vs 2.0
  12. 53:30Shenandoah relocation example
  13. 55:35Tuning Shenandoah
  14. 58:05Conclusion and recommendations
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.