~/talk

Garbage Collection in Java: The progress since JDK 8

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

Since JDK 8 the JVM’s collectors shrink pauses and cut overhead: SPECjbb2015 runs show parallel up ~30% throughput versus JDK 8, G1 >40% throughput and roughly halved latency tails, and adding cgc generational gives ~10% throughput and trims worst-case P99 pause tails ~15% (cgc P99 moves from ~140μs to ~120μs). Region remember‑set memory drops from ~2GB to ~1GB in G1. Benchmarks include Cassandra and real-world upgrades: Netflix halves pause time and GC time; Mercado Libre reports 50% fewer threads, 25% CPU, 20% memory and 30% latency gains.

AI-written summary · about

  1. 0:00Introduction to GC in Java
  2. 1:28How garbage collection works
  3. 8:48Overview of Java GCs
  4. 13:23Serial and Parallel GC
  5. 15:55G1 GC details
  6. 18:21Performance improvements since JDK 8
  7. 25:23Native memory overhead progress
  8. 29:15Real-world success stories
  9. 33:24Netflix’s upgrade to JDK 17
  10. 35:33Netflix’s generational ZGC adoption
  11. 36:57Mercado Libre’s Java 21 migration
  12. 39:02Oracle Cloud Infrastructure upgrades
  13. 40:47Future of GC in Java
  14. 44:00Key takeaways and Q&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.