Workshop: GraalVM (part 1)
summary
Workshop shows GraalVM 20.3 running on Java 11 and builds a Micronaut web app that computes primes, producing a native-image in about one to two minutes and a ~74 MB binary. Demonstrates using the native-image agent to generate reflection config, explains class initialization choices (buildtime vs runtime) and flags to adjust them, mentions G1 GC and profile‑guided optimizations for AOT, warns to build on Linux for Docker targets, and shrinks the binary with UPX compression.
AI-written summary · about
chapters (14)
- 0:00Start
- 3:46Introduction to Chromium
- 5:00Web Assembly
- 7:40Garbage Collection
- 7:54Profile Guided Optimizations
- 16:08Build a Native Image Executable out of a Sample Project
- 17:36Create an Application
- 21:15Build the Native Image
- 31:41Reflection Example
- 43:06Gravim Distribution
- 44:11The Common Line Applications
- 45:43The Class Initialization
- 46:13Class Initialization
- 57:49Create a Web Application
related talks
47mGraalVM as a Platform for Cloud Native Java
42mJava in the Cloud with GraalVM
45mFast and Efficient Microservices with GraalVM
50mCloud native Java microservices with GraalVM
52mGraalVM native images explained
59mMaximizing performance with GraalVM
44mJava In The Cloud with GraalVM
35mTop 10 Things to Do with GraalVM
