Java 10/11 Memory Management and GC
summary
HotSpot heuristics evolve from Parallel GC through CMS to G1 default in Java 10/11 and the talk gives concrete tuning notes: default region size is 2MB region size so objects >2MB become “humongous,” max tenuring age defaults to 15, minor GC always precedes major GC, and Parallel full GCs run roughly 5s per GB. Containers matter: JVM detects CPU via cgroups and seeds threads equal to visible cores, affecting GC threads. Recommended tools are Eclipse MAT and Flight Recorder and VisualVM for profiling.
AI-written summary · about
chapters (24)
- 0:00Introduction
- 4:35Production
- 5:00Book
- 8:55Footprint
- 10:05Why talk about memory
- 12:13Garbage Collection
- 19:15New Space
- 27:01Perm Space
- 28:11Meta Space
- 30:11Expansion Free Ratio
- 31:15Retention Rates
- 32:27CMS
- 34:48GC
- 38:08Region Space
- 39:36G1 Slides
- 40:21Compaction
- 41:05Regions
- 41:30Young Generation
- 42:46Flags of Control
- 44:11Case Study
- 45:24The Beautiful Part
- 46:15Questions
- 48:12Managing new space
- 49:48Thread Analyzer
related talks
52m-XX:+UseG1GC
01h 32mTuning Large Scale Java Platforms
01h 14mHave you really taken the time to know me: A G1 GC saga
49mTrash Talk: Exploring the JVM memory management
59mKeynote: Industry GC Insights from OpenJDK
46mPrinciples of Memory Management in Java
55mThe Performance Engineer's Guide To Java HotSpot
47mGarbage First Garbage Collector
