Heap Size Adjustment with CPU Control
summary
Automatic heap sizing uses a target fraction of CPU time spent in GC to drive heap capacity, implemented in ZGC in OpenJDK and evaluated on a 32-core CB machine with benchmarks including Tomcat and Spring. A prototype controller sets GC CPU overhead (examples: 1% GC CPU overhead, tested across 5–20%) and adapts heap up or down; it shrinks a 32 GB cap to ~800 MB in one run while increasing GC frequency, finds 10–20% a reasonable tradeoff for throughput, sees energy follow execution time, and detects no statistical latency harm.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 1:27Heap size challenges
- 4:13CPU GC overhead control
- 6:25Before vs after CPU control
- 9:18Concurrent collectors and latency
- 11:28Evaluating GC overhead
- 14:17Conclusions and future work
- 14:59Q&A








