Java in Containers - Part Deux
summary
Shows that old JVMs misread container limits (CPU and memory) and that recent OpenJDK builds fix ergonomics—OpenJDK 16 sees cgroups v2 and correct CPU visibility. Demonstrates concrete wins: JLink shrinks a JDK from ~316 MB to ~34 MB, a Minecraft container image under 100 MB, CDS cuts simple app startup from ~200 ms to ~145 ms, and GraalVM native-image produces multi-MB executables (8 MB example). Covers rootless containers, Kata, Docker image purging (6 months) and pull limits (100/6h), and warns to use trusted, supported base images.
AI-written summary · about
chapters (6)
- 0:00Introduction and Java evolution
- 6:28Container awareness in JVM
- 11:51Performance and container startup
- 24:32Java layer latency techniques
- 35:38Security in Java containers
- 43:24Summary and best practices
related talks
49mJava and Containers Make it Awesome
42mContainers & Java: What I wish I have been told!
45mJVMs in Containers, Towards a Perfect Symbiosis!
46mJava in a World of Containers
47mLegal JVM Doping in Your Containers
25mCommit to Excellence - Java in Containers
47mJava inside Application Containers, System Containers and VMs
35mJava in a world of containers
