Supercharge your Native Image applications
summary
GraalVM Native Image compiles Java ahead-of-time to reduce startup and memory: demos show unit tests built and executed as native binaries using native Maven/Gradle plugins 0.9.21, a Micronaut app talking to MySQL via Testcontainers passes native tests, and an H2 example required picking up config from a centralized native-config repo to succeed. The tracing agent generates reflection configs, profile-guided optimization raises peak throughput, default serial GC and options like Epsilon are available, and UPX compression shrinks images from 66MB to 17MB or down to ~5MB.
AI-written summary · about
chapters (13)
- 0:00Introduction and overview
- 1:51GraalVM and Native Image basics
- 3:14Native Image compilation process
- 8:08Building with Maven and Gradle
- 11:19Testing with external dependencies
- 14:08Handling reflection in Native Image
- 21:13Reflection in third-party libraries
- 26:59Native Image performance and optimizations
- 30:32Packaging size and deployment options
- 32:38Security benefits of Native Image
- 34:44Recent updates and new features
- 37:38Future plans for Native Image
- 39:20Q&A session
related talks
39mSupercharge your Native Image applications 🚀
52mGraalVM native images explained
46mGraalVM Native Image — Faster, Smarter, Leaner
35mCloud-Native Applications with GraalVM
44mJava In The Cloud with GraalVM
50mCloud native Java microservices with GraalVM
42mJava in the Cloud with GraalVM
44mSelf-contained Native Binaries for Java with GraalVM
