GOTO 2020 • Secrets of the Shenandoah Garbage Collector • Stephanie Crater

25:59 954 views 92% Published 5 months ago

This presentation was recorded at GOTOpia Europe 2020. #GOTOcon #GOTOpia

Stephanie Crater - Java performance expert revolutionizing the garbage collector with Shenandoah

The Shenandoah garbage collector (GC) comes with the promise of pause times of less than 10ms. To achieve this, the collector performs the majority of its work concurrently, consequently impacting the throughput of the application.
Work-stealing allows us to reduce the amount of time and resources spent on garbage collection by redistributing tasks among GC threads, reducing overall runtime.
Stephanie's work with Shenandoah led her to re-examine the assumptions that inform current work-stealing algorithms [...]

00:00 Intro
00:49 Shenandoah GC overview
05:31 Goal
05:43 How does work-stealing work?
09:03 What else do we need?
10:14 What we might expect...
12:33 ...and what we got
13:18 What's going wrong/on in a GC?
15:35 How many workers should we use?
17:35 Work-stealing in JDK 11
21:01 Biases...not always bad?
23:39 Can we do even better?

Read the full abstract here:
#Shenandoah #GarbageCollector #Java #JDK #ShenandoahGC #Programming #ShenandoahGarbageCollector

Looking for a unique learning experience?
Attend the next GOTO conference near you! Get your ticket at

SUBSCRIBE TO OUR CHANNEL - new videos posted almost daily.

Watch on YouTube