~/talk

Garbage Collection Primer

Talkat Devoxx Belgium 2024 · 2024-10-07..10-11· [java]
links:none on file
slides:none on file

Quick, actionable GC notes: prefer G1 or ZGC for backend services, test at least two collectors, and re-evaluate across JDK releases. Measured gains: P99 pause down 120→60 ms on a 16 GB heap and throughput +~40% from JDK8→17; footprint for a 16 GB heap drops from ~2 GB native overhead in JDK8 to <750 MB in JDK21 (parallel ≈700–900 MB by JDK23). ZGC runs generational by default in JDK 23; serial suits tiny containers, parallel still wins pure throughput in some cases.

AI-written summary · about

  1. 0:00Welcome
  2. 1:06Goals
  3. 2:08Throughput latency footprint
  4. 3:30Choosing garbage collectors for applications
  5. 5:16Parallel GC throughput
  6. 8:07Measuring GC performance
  7. 9:10Java version improvements
  8. 10:56GC design differences
  9. 12:20Garbage collection in Kubernetes environments
  10. 14:29Modern Parallel GC
  11. 17:01Generational ZGC benefits
  12. 19:10ZGC future generational
  13. 21:37Kubernetes config
  14. 23:01ZGC low memory
  15. 24:07Q&A
~/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.