~/talk

AOT or JIT: Faster Startup or Faster Code

Talkat Devoxx Poland 2021 · 2021-08-25..08-27· [java]
slides:none on file

Compares AOT vs JIT with concrete numbers and tools: GraalVM native image claims ~50× faster startup and ~5× smaller footprint; analysis finds >50% of JIT gains come from speculative optimizations, so pure AOT loses those wins. Describes Azul’s approach: Azul Prime ReadyNow! captures profiles (classes, inits, profiling data, mis-speculations) to restart at ~98% peak and uses compile stashing to cut compile time ~80% and CPU load ~60%. Presents CRaC checkpoint/restore demo shrinking Spring Boot cold-start ~4s → 38ms.

AI-written summary · about

  1. 0:00Intro
  2. 1:26JVM Performance Challenges
  3. 4:35Microservice-Based Application
  4. 7:36Microservice Performance Challenges
  5. 11:10Java Compilers: Ahead of Time (AOT)
  6. 17:07Compilers: Justin Time (JIT)
  7. 19:02Speculative Optimisations
  8. 25:07Graal VM For Java Applications
  9. 26:55Open JDK Project Leyden
  10. 28:30The Azul Prime JVM
  11. 30:11ReadyNow! Solution
  12. 32:47ReadyNow! Effect
  13. 34:20Falcon Pipeline
  14. 35:10Deterministic Compiler
  15. 35:53Add Compile Stashing
  16. 36:29Compile Stashing Effect
  17. 37:45Co-ordinated Restore at Checkpoint (CRC)
  18. 41:34Faster Startup or Faster Code
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.