~/talk

Garbage Collection in Java: The Performance Benefits of Upgrading

Talkat JavaOne 2025 · 2025-03-18..03-20· [java, web-performance]
links:none on file
slides:none on file

Upgrading past JDK8 yields concrete wins: SPECjbb2015 shows parallel and G1 throughput up ~20–30% and latency scores improve more than 50% versus JDK8; normalized P99 GC pauses drop ~40% (parallel) and even more for G1. ZGC with generational mode (added in JDK21, default generational in JDK24) reports pauses in the hundreds of microseconds and large throughput gains; ZGC uses more native metadata but lets many apps run with a smaller heap. Netflix halves pause time; LinkedIn cuts P99.9 by ~50%.

AI-written summary · about

  1. 0:00Garbage collection in Java
  2. 1:08GC primer and heap management
  3. 5:28Choosing right GC
  4. 7:31Java GC overview
  5. 8:12Serial vs parallel collectors
  6. 10:21G1 GC features and benefits
  7. 12:27ZGC low-latency explained
  8. 14:36GC performance profiles
  9. 15:40Upgrading past JDK 8 benefits
  10. 17:48Benchmarking GC improvements
  11. 26:16Cassandra workload performance
  12. 29:45Netflix JDK upgrade success
  13. 32:19Mercado Libre JDK 21 gains
  14. 34:26LinkedIn generational ZGC
  15. 35:30Oracle Cloud storage gains
  16. 36:57Future G1 and ZGC improvements
  17. 37:41GC guidance resources
  18. 38:42Key takeaways
  19. 39:23Q&A on small heap and ZGC
~/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.