~/talk

Self-contained Native Binaries for Java with GraalVM

Talkat Voxxed Days Zürich 2025 · on Tuesday, 2025-03-25· [java]
slides:none on file

GraalVM Native Image compiles Java ahead-of-time into a platform native binary that drops the JVM, resulting in 20–40× startup and examples showing a 41× faster startup for Spring PetClinic and 35% RAM reduction versus HotSpot (profile‑guided builds can also raise peak throughput). Build performs reachability analysis and limits reflection so metadata or community metadata is often required. Binary inspection and profiling use Linux tools like psrecord, perf / perf record and flame graphs; images include SBOMs, can be 13 MB (from‑scratch) or ~4 MB with UPX. Recommended for ~0.5–1 GB heaps and cloud frameworks (Spring, Quarkus, Micronaut, Helidon).

AI-written summary · about

  1. 0:00Introduction to native image
  2. 5:47Performance benefits
  3. 8:09Memory consumption analysis
  4. 10:38Startup and warmup metrics
  5. 13:16Measuring and optimizing performance
  6. 22:51Low-level profiling
  7. 26:20Profiling with flame graphs
  8. 28:46Performance summary
  9. 29:17Security and packaging
  10. 31:09Build reports and analysis
  11. 32:39Containerization strategies
  12. 35:41Linking and deployment
  13. 36:25Embedding polyglot runtimes
  14. 37:46Industry adoption
  15. 39:49Framework and cloud support
  16. 40:21Metadata and community tools
  17. 41:17Roadmap and native image layers
  18. 43:01Getting started and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.