JVMs in Containers: Best Practices
summary
Shows concrete numbers and tools: using jlink custom runtime cuts a JDK from ~320 MB to ~15 MB (strip/debug/compress options down to ~6–34 MB), a Minecraft server needs 12 modules so its image drops to ~100 MB with Project Portola + Alpine, enabling CDS (class-data sharing) yields startup ~66% faster in one demo, and GraalVM native-image produces a ~7 MB executable that starts in ~10 ms versus ~220 ms for the JVM. Recommends recent Java and slimming images.
AI-written summary · about
