~/talk

Ahead of Time Computation

Talkat JavaOne 2025 · 2025-03-18..03-20· [java, web-performance]
slides:none on file

Project Leyden ships ahead-of-time class loading and linking in JDK 24 via JEP 483 and uses a three-step workflow: a training run that records loaded classes, an assembly phase that builds an AOT cache generation (now multi-threaded and measured in seconds), and deployment that reuses prelinked classes and lambdas. Leyden EA adds saved profiles and optional ahead-of-time compilation; results show 2.5–3× startup improvement for tiny framework samples and roughly 40% for a Spring Petclinic, with work ongoing to extend optimizations to user class loaders.

AI-written summary · about

  1. 0:00Intro
  2. 0:40Leyden's Goals
  3. 4:49Leyden's Approach
  4. 10:17AOT Class Loading and Linking in JDK 24
  5. 14:09AOT Features in Leyden EA
  6. 17:04Some Performance Measurements
  7. 19:41AOT Feature Ideas
~/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.