~/talk

Garbage First Garbage Collector

Talkat Devoxx US 2017 · 2017-03-21..03-23· [java]
slides:none on file

G1 becomes the default in Java 9 and combines concurrent marking with incremental compaction via mixed collections; regions are 1–32 MB and an object >= 50% of a region is treated as humongous. Logs shown are JDK 8 GC output (Java 9 uses unified logging). Tunables demonstrated: -XX:InitiatingHeapOccupancyPercent (IHOP default ~45%), -XX:ConcGCThreads, -XX:G1MixedGCLiveThresholdPercent (default ~85%), -XX:G1HeapWastePercent (default 5%), G1MixedGCCountTarget and oldCSet thresholds. Examples show evacuation failures and repeated full GCs when heap is constrained (1 GB) and resolution by increasing heap to ~4 GB.

AI-written summary · about

  1. 0:00Intro
  2. 5:11Traditional Java Heap
  3. 6:00Garbage First GC - Heap Regions
  4. 6:44G1 GC Heap Regions
  5. 7:55Humongous Objects
  6. 10:18Collection Set
  7. 13:22Remembered Sets
  8. 15:43G1 GC - Pause Histogram
  9. 20:27Initiating Heap Occupancy
  10. 21:29Stages of Concurrent Marking
  11. 23:18The Garbage First Collector
  12. 24:53Why Tame Mixed Collections?
  13. 25:48What Can We Do?
  14. 26:03Adjusting Each Mixed Collection
  15. 28:07Eliminating Expensive Old Regions From Mixed Collections
  16. 30:55Major Contributor?
  17. 35:24So, What Did We Observe?
  18. 36:32G1 Heap Waste Percentage
  19. 36:58G1 Mixed GC (Region) Liveness Threshold
  20. 39:32Avoiding Evacuation Failures
  21. 45:11Plot Allocation & Promotion Rates
~/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.