Going AOT: Everything you need to know about GraalVM for Java applications
summary
GraalVM acts as a drop‑in JDK plus the Native Image AOT compiler that produces platform executables; a Spring Boot app compiles in ~48s to a 62MB binary that starts in ~46ms and uses ~73MB RSS in one demo. Build-time strategies include Spring AOT transforms, the tracing agent, or library-supplied JSON hints; PGO/profile‑guided builds and --native-image-info produce peak throughput gains (native jumped from ~1.1k RPS to ~1.7k RPS), and planned layered native images and tooling reduce rebuild time.
AI-written summary · about
chapters (14)
- 0:00Introduction and speaker intro
- 1:46What is GraalVM and its features
- 3:10Native Image ahead-of-time compilation
- 7:27Demo: Spring Boot to Native Image
- 14:50Benefits of Native Image
- 18:06Libraries and frameworks with Native Image
- 22:19Demo: CLI apps and Spring Shell
- 26:53Demo: Spring AI travel app
- 29:29Making libraries work with Native Image
- 36:10Testing and assessing compatibility
- 37:13Performance comparison with JVM
- 43:57Optimizing performance in Native Image
- 47:06Profile-guided optimizations
- 49:35Future of GraalVM and Native Image
related talks
45mGoing AOT: Everything you need to know about GraalVM for Java applications
51mAOT: Everything you need to know about GraalVM for Java applications
50mGoing AOT: Everything you need to know about GraalVM for Java
44mAhead Of Time and Native in Spring Boot 3.0
47mBring the action: using GraalVM in production
46mBring the Action: Using GraalVM in Production
51mMigrating Spring Boot apps to GraalVM
53mBootiful GraalVM
