~/talk

JIT and AOT in the JVM

links:none on file
slides:none on file

Compares JIT, AOT and caching approaches on the JVM with concrete numbers and tools: OpenJ9’s dynamic AOT and shared class cache reuse JIT-generated code to cut startup and ramp costs while hitting within 5–10% of peak JIT performance; pure AOT often reaches only ~50–90% of JIT without profile feedback and needs curated profiles. Describes a remote JIT server prototype that moves compile spikes off clients, stabilizes memory in containers, and (after optimization) halves client CPU overhead versus naive remote calls, with AWS and Docker experiments reported.

AI-written summary · about

  1. 0:00Intro
  2. 2:06Native compilers in today's Java ecosystem
  3. 4:32Life of a running Java application
  4. 8:291. Speculate on class hierarchy
  5. 10:202. JIT uses profile data collected as program runs
  6. 12:39But JIT performance advantage isn't free
  7. 17:41BUT there are a few big BUTS
  8. 22:01Class loader objects can invalidate the inlining...
  9. 23:20Contrived example?
  10. 24:50Some AOT Fallacies
  11. 29:08Profile Directed Feedback (PDF) may help
  12. 34:23Two implementations
  13. 36:19Open9 Shared Classes Cache
  14. 47:53Strengths and Weaknesses
  15. 52:41Wrapping up
~/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.