Spring Native: The Future of Fast and Efficient Spring Applications
summary
GraalVM 25 targets Java 25 and ships ML-enabled PGO that boosts peak throughput at O3 while recommending two-step user-collected PGO for the absolute best results; an unoptimized native build hits ~757 req/s in the demo, optimized builds improve that and reduce RSS to ~200 MB. New pragmas include a wildcard -H:preserve for missing-class issues, embedded and class-level SBOM export, native image layers for shared base images that cut memory and startup, advanced obfuscation to hide symbols, WebAssembly/web-image builds, a Spring AI vector-search demo that works against a cloud DB, and an open-world Krama prototype that loads and JITs new classes at runtime.
AI-written summary · about
chapters (7)
- 0:00Spring Native and GraalVM intro
- 6:26ML PGO performance
- 20:30Enterprise security & migration
- 30:18AI Spring apps with GraalVM
- 34:10WebAssembly & CLI demos
- 42:16GraalVM future: layers & Krama
- 47:56Q&A
related talks
46mGraalVM Native Image — Faster, Smarter, Leaner
44mChasing the Grail
33mNew Opportunities for Developers with GraalVM
29mGraalVM in a Nutshell
01h 00mStatic Java, GraalVM Native and OpenJDK
52mGraalVM native images explained
43mPolyglot Native: Java, Scala, Kotlin, and JVM languages
46mCompiling Scala Faster with GraalVM
