Overview
Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This talk compares Java and JVM compilation approaches, including JIT profiling and speculation, AOT compilation, code caching, and external compilation services. It examines their performance benefits and tradeoffs across Java applications.
Syllabus
Intro
Native compilers in today's Java ecosystem
Life of a running Java application
1. Speculate on class hierarchy
2. JIT uses profile data collected as program runs
But JIT performance advantage isn't free
BUT there are a few big BUTS
Class loader objects can invalidate the inlining...
Contrived example?
Some AOT Fallacies
Profile Directed Feedback (PDF) may help
Two implementations
Open9 Shared Classes Cache
Strengths and Weaknesses
Wrapping up
Taught by
Java