~/talk

Understanding Java Garbage Collection and what you can do about it

Talkat SpringOne2GX 2012 · 2012-10-01..10-03· [java]
slides:none on file

Explains why pauses, not allocation efficiency, limit JVM scale and describes building a concurrent solution: C4 continuously concurrent compacting collector and the Zing JVM that implements it. Claims: a single-pass marker and concurrent compaction with no stop-the-world fallback, handling sustained allocation rates (examples show ~1.2 GB/s and 50+ GB heaps) and turning multi‑second pauses (14 s example) into millisecond events (20 ms). Uses JHiccup for latency measurement and cites a real app failure from pervasive finalizers to motivate the design.

AI-written summary · about

  1. 0:00Intro
  2. 0:23This Talk's Purpose / Goals
  3. 2:24About me: Gil Tene
  4. 4:16About Azul
  5. 6:41High level agenda
  6. 7:45Memory use
  7. 9:44What is Garbage Collection good for?
  8. 14:13The story of the good little architect
  9. 17:21Most of what people seem to "know" about Garbage Collection is wrong
  10. 21:14Trying to solve GC problems in application architecture is like throwing knives
  11. 23:28A Basic Terminology example: What is a concurrent collector?
  12. 25:00Classifying a collector's operation
  13. 27:02Precise vs. Conservative Collection
  14. 30:16Safepoints
  15. 33:35What's common to all precise GC mechanisms?
  16. 36:24Mark (aka "Trace")
  17. 45:40Generational Collection
  18. 51:49How does the remembered set work?
  19. 55:20The typical combos in commercial server JVMS
  20. 56:14Useful metrics for discussing
  21. 59:23Empty memory needs (empty memory == CPU power)
~/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.