~/talk

Mastering GraalVM: booting Hibernate ORM in 5ms and 15MB total memory

Talkat Voxxed Days Milano 2019 · on Saturday, 2019-04-13· [java, compilers-and-language-design]
slides:none on file

GraalVM/SubstrateVM compiles Hibernate ORM into a native binary with 5 ms startup and 15 MB total memory by running build‑time augmentation and native-image static analysis that folds constants, strips unreachable code (one trial removed ~280 classes) and embeds metadata. That requires entity enhancement at build time, generated reflection/resource JSON, Jandex classpath scanning, and avoiding dynamic classloading, JMX, agents and runtime bytecode proxies. Quercus/augmentation plugins produce the bootstrap bytecode; practical failures include unexpected init code in dependencies (e.g. a JDBC driver triggering JavaFX threads).

AI-written summary · about

  1. 0:00Start
  2. 1:49What Is in Native Image
  3. 2:58How Do You Build a Native Image
  4. 16:40Limitations
  5. 28:31Reflection How Does that Impact Hibernate
  6. 36:53How It Works
  7. 39:25Live Reloading
  8. 40:19Demo
  9. 40:49Configuration File
  10. 49:45Conclusions
~/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.