~/talk

Demystifying Garbage Collection in Java

Talkat Conf42 Enterprise Software 2021 · 2021-03-25..05-05· [java]
linkedin:igorbraga
slides:none on file

Overview of OpenJ9 GC choices and concrete tradeoffs including throughput versus pause time and memory overhead, with implementation details and numbers. Compares optput, gencon, cconscav, metronome and balanced region GC policies, describes right and snapshot write barriers, and shows metronome budgeting (example 30% GC budget per window). Describes arraylets for regionized large arrays and a Linux x86_64-only double mapping trick that maps a contiguous virtual view to chunked regions and boosts JNI/contiguous-array ops by ~30×, plus portability limits.

AI-written summary · about

  1. 0:00Garbage collection in Java
  2. 1:40What garbage collection is
  3. 3:01Pros and cons of GC
  4. 3:43OpenJ9 GC algorithms
  5. 5:08Stop-the-world in OptThruPut
  6. 6:10Generational copying in GenCon
  7. 9:20Concurrent compaction in Concurrent Scavenge
  8. 12:48Real-time GC with Metronome
  9. 16:18Region-based GC in Balanced
  10. 20:27Large array optimization
  11. 23:58Future GC directions
  12. 27:51Choosing the right GC
  13. 30:19Q&A
~/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.