~/talk

Going AOT: Everything you need to know about GraalVM for Java applications

Talkat JNation 2024 · 2024-06-04..06-05· [java, web-performance]
slides:none on file

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

  1. 0:00Introduction and speaker intro
  2. 1:46What is GraalVM and its features
  3. 3:10Native Image ahead-of-time compilation
  4. 7:27Demo: Spring Boot to Native Image
  5. 14:50Benefits of Native Image
  6. 18:06Libraries and frameworks with Native Image
  7. 22:19Demo: CLI apps and Spring Shell
  8. 26:53Demo: Spring AI travel app
  9. 29:29Making libraries work with Native Image
  10. 36:10Testing and assessing compatibility
  11. 37:13Performance comparison with JVM
  12. 43:57Optimizing performance in Native Image
  13. 47:06Profile-guided optimizations
  14. 49:35Future of GraalVM and Native Image
~/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.