Legal JVM Doping in Your Containers
summary
Uses concrete tweaks and tools to speed Java containers: switch bloated base images and fat jars to layered buildpacks, set heapPercent=80, prefer classpath loading, and run client VM to cut warmup from ~40s to ~5s and reduce heap to ~275MB. Native image removes startup peak; appCDS narrows it; CRaC snapshot restores at the canyon and eliminates the first peak. Compact headers (JDK 24/25) saves hundreds of MB; fused JDKs bring newer JVM features to legacy JDKs so changes work without full rewrites.
AI-written summary · about
chapters (11)
- 0:00Introduction to JVM tuning
- 3:12Default Java options shame
- 8:35Optimizing container images
- 11:26Performance under load
- 19:51Client VM vs server VM
- 24:05Startup optimization techniques
- 26:59Garbage collector tuning
- 30:54Automated container builds
- 32:43Upcoming JVM features
- 37:18Legacy JDK performance boosts
- 40:55Q&A session
related talks
49mJava and Containers Make it Awesome
46mJava in a World of Containers
48mJava in Containers - Part Deux
45mJVMs in Containers, Towards a Perfect Symbiosis!
31mFast and Distroless Java in Containers: the Recipe!
01h 02mOptimizing Containerized #Java Apps with Jib, #GraalVM, CDS, & #CRaC
07mBest Practices with JVMs in Containers
35mJava in a world of containers
