~/talk

Mastering GC: tame the beast and make it your best ally

Talkat Spring I/O 2023 · 2023-05-18..05-19· [java]
links:none on file
slides:none on file

Comparative benchmarks use JFR recordings and JMC on a Spring Petclinic demo to show concrete numbers: G1 spends ~20s in young GC across 244 events (≈85% throughput), while ParallelGC totals ~2s with ~100 GCs (~97% throughput) for batch jobs; ZGC and Shenandoah give the lowest tail latencies for request/response workloads. Practical tuning covers G1 humongous fragmentation and region-size tweaks, Shenandoah fully concurrent evacuation with load-barriers and allocation-pacer, and ZGC colored pointers plus heap sizing or dedicated GC cores; C4 (Azul) appears competitive.

AI-written summary · about

  1. 0:00Introduction to Java GC
  2. 1:33Serial and generational GC
  3. 5:16Parallel GC and marking phases
  4. 8:50G1 garbage collector details
  5. 13:22Concurrent collectors
  6. 16:53Workload selection and metrics
  7. 23:59Tuning Parallel and G1
  8. 29:09Advanced GC tuning strategies
  9. 34:26Summary and conclusions
  10. 40:13Q&A session
~/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.