~/talk

Trash Talk: Exploring the JVM memory management

Talkat Voxxed Days CERN 2025 · on Wednesday, 2025-01-15· [java]
slides:none on file

Clear, practical tour of JVM collectors that names tradeoffs and real thresholds: OpenJDK chooses the serial collector for heaps under 1.8 GB which can surprise containerized apps, G1 is default with a sweet spot around 16 GB and typical pauses ~100–200 ms, old mark sweep can produce stop-the-world pauses up to 30s, and fully concurrent collectors like Shenandoah and ZGC target huge heaps (e.g. 48 cores and 120 GB) at the cost of CPU and ~3% throughput in one case. Tools and concepts covered include HotSpot/OpenJDK, barriers, Brooks pointers, regions, Epsilon no-collector and promotion thresholds.

AI-written summary · about

  1. 0:00JVM memory management intro
  2. 1:28Garbage collection in production
  3. 6:06Stop-the-world pauses in GC
  4. 7:29Three GC principles
  5. 15:12Generational GC explained
  6. 21:17Concurrent GC challenges
  7. 29:49JVM garbage collectors overview
  8. 34:25CMS collector history
  9. 36:13G1 collector regions
  10. 40:04Epsilon no-op GC
  11. 41:07Shenandoah GC
  12. 43:18ZGC fully concurrent
  13. 44:43C4 vs ZGC
  14. 47:55Choosing the right garbage collector
~/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.