~/talk

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

Talkat GeeCON Prague 2023 · 2023-10-19..10-20· [java]
links:none on file
slides:none on file

Compares GCs by running JFR traces through JDK Mission Control and a file-processing benchmark that processes many trace files; tests G1, Parallel, ZGC, Shenandoah and C4 and reports concrete metrics: G1 spends ~85% application time (avg pause ~76 ms, max ~197 ms) while Parallel hits ~97% throughput (avg pause ~25 ms, max ~82 ms). Identifies JDK Flight Recorder + JMC as the toolchain, blames humongous allocations and region sizing for G1 slowdowns, and shows tuning (bigger young gen or region size) cuts runtime to ~64s; recommends 97% throughput Par for batch work and ZGC/Shenandoah/C4 for low-latency services.

AI-written summary · about

  1. 0:00Introduction
  2. 1:37Serial GC explained
  3. 5:54Parallel GC overview
  4. 8:29Remember sets in GC
  5. 9:54G1 GC deep dive
  6. 14:12Low latency GCs
  7. 16:02ZGC generational mode
  8. 17:32Selecting the right GC
  9. 19:00Benchmarking GC performance
  10. 25:04Tuning Serial GC
  11. 27:26Tuning G1 GC
  12. 34:17Tuning Shenandoah and ZGC
  13. 37:14Choosing GC by workload
  14. 38:16Why avoid G1 GC
  15. 40:50Q&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.