~/talk

“Show Me the Garbage!”, Garbage Collection a Friend or a Foe

Talkat J-Fall 2022 · on Thursday, 2022-11-03· [java]
linkedin:haimyadid
slides:none on file

A small benchmark and pause detector (GitHub) allocates 500 MB/s alloc rate against a 4 GB heap and measures pauses with VisualVM and JHiccup plus GC logs parsed by GCViewer/GCEasy. Results show concrete differences: G1 ≈300 ms per iteration, Shenandoah ≈800 ms, ZGC ≈352 ms, Parallel ≈434 ms. ZGC needs ~25% more RAM (no compressed oops) and stalls under low headroom unless heap grows to 8 GB; more memory often fixes throughput but not pause risks.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 2:13Birth and death of objects
  3. 3:18Memory management basics
  4. 5:24Automatic reference counting limits
  5. 6:05Tracing garbage collectors explained
  6. 7:09Key performance indicators for GC
  7. 8:35Heap, roots, and reachable objects
  8. 10:02Garbage collection algorithms overview
  9. 12:52Mark-compact and copy collectors
  10. 15:47Generational garbage collection
  11. 18:32Garbage collector properties
  12. 22:47Modern JVM garbage collectors
  13. 28:51Legacy garbage collectors
  14. 29:14Practical garbage collection monitoring
  15. 33:04Tools for analyzing GC logs
  16. 34:30Memory graphs and visual tools
  17. 34:50Detecting pauses with JHiccup
  18. 36:15Estimating live set size
  19. 37:43Common problems demo setup
  20. 38:45Benchmarking different collectors
  21. 41:56Latency and throughput trade-offs
  22. 43:44Solving GC overhead and latency issues
  23. 44:29Fragmentation and humongous objects
  24. 46:00Generational overflow problems
  25. 47:25Homework and summary
~/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.