~/talk

-XX:+UseG1GC

Talkat Voxxed Days Vienna 2016 · 2016-03-16..03-18· [java]
speakerdeck:jkubrynski
slides:none on file

G1 becomes the JDK9 default and splits the heap into 2,000–4,000 fixed regions (1–32 MB) and treats very large arrays as humongous objects if > half a region. It uses remembered sets (≈5% footprint) and mixed GCs that clean selected old regions alongside young collections. Full GC is single‑threaded and can take 15–20s on a 20 GB heap. Tune InitiatingHeapOccupancyPercent, G1ReservedPercent, concurrent GC threads and enable ParallelRefProcEnabled to avoid costly full collections.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 2:37Why garbage collection matters
  3. 5:28Generational hypothesis explained
  4. 13:04Card tables and remembered sets
  5. 17:02G1 GC heap regions
  6. 26:06G1 GC collection types
  7. 33:42Mixed and full GC in G1
  8. 36:35Humongous objects in G1
  9. 39:29Tuning G1 GC for latency
  10. 43:25Concurrent mode failures
  11. 46:38Analyzing G1 GC logs
  12. 48:07When to use G1 GC
  13. 50:12G1 GC as default in JDK9
  14. 51:18Q&A and closing
~/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.