~/talk

ZGC Automatic Heap Sizing

Talkat JVM Language Summit 2024 · 2024-08-05..08-07· [java]
github:fisk
slides:none on file

ZGC now auto-sizes heaps by starting at 16 MB, measuring allocation rate and GC CPU, and using a control loop to grow or shrink until a target GC overhead is reached; it defines a weak GC force to chase throughput and a strong GC force to bound machine memory (concerning at 20%, high at 8%, critical at 5%). The prototype uses major collections for global cost signals, does concurrent heap priming to avoid warmup penalties, and recovers neighbor memory in mixed workloads during evaluation.

AI-written summary · about

  1. 0:00Introduction to ZGC auto-sizing
  2. 3:23Historical context and challenges
  3. 5:10Complexity of manual heap sizing
  4. 13:38The weak and strong GC forces
  5. 20:28Generation and memory pressure
  6. 22:41Thresholds and tuning policies
  7. 28:32Real-world adaptation scenarios
  8. 31:17Concurrent heap priming
  9. 33:10Evaluation and benchmark results
  10. 37:56Q&A and final remarks
~/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.