Performance and polyglot superpowers for Java with GraalVM
summary
GraalVM replaces the top-tier JIT and adds a Truffle-based polyglot layer and an ahead-of-time Native Image that produces platform binaries, trading JIT warmup for near-instant startup (example: Micronaut demo drops from 3.3s to 0.1s) and much lower memory; Alibaba reports ~20x speedups in one production move. Build tooling includes native-build-tools for Maven/Gradle, a tracing agent and metadata repo for reflection config, PGO and GC knobs (G1/epsilon) for peak tuning, and JFR support is work in progress.
AI-written summary · about
chapters (11)
- 0:00Introduction to GraalVM
- 1:29Native image benefits
- 6:46Java execution modes
- 8:09How native image compiles
- 12:01Getting started with demos
- 16:20Spring Boot and native image
- 18:06Optimizing native image
- 21:20Developer experience improvements
- 23:46Dynamic features configuration
- 25:32Polyglot programming
- 30:05Q&A session
