~/talk

Secrets of the Shenandoah Garbage Collector

Talkat GOTOpia Europe 2020 · 2020-09-15..09-18· [java]
links:none on file
slides:none on file

Shenandoah uses concurrent marking with per-worker task queues and a work-stealing policy that in JDK 11 picks two random queues, causing up to a 25% guaranteed fail rate when many queues are inactive. Added fine-grained metrics (slow pop attempts, per-target steal breakdown) and a biased steal change that prefers the last-successful victim, raising steal success from ~66–75% to ~90% (3.5M attempts on SPECjvm, some GCs 99%+). Observes queue/worker duality and suggests restricting steals to active queues to push success further.

AI-written summary · about

  1. 0:00Intro
  2. 0:49Shenandoah GC overview
  3. 5:31Goal
  4. 5:43How does work-stealing work?
  5. 9:03What else do we need?
  6. 10:14What we might expect...
  7. 12:33and what we got
  8. 13:18What's going wrong/on in a GC?
  9. 15:35How many workers should we use?
  10. 17:35Work-stealing in JDK 11
  11. 21:01Biases...not always bad?
  12. 23:39Can we do even better?
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.