Explain it in 60 seconds
Tiered compilation and deoptimisation
Backend Engineering · Language Runtimes · Experienced
How does tiered compilation work in the JVM, and what is deoptimisation?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Interpreter → C1 (quick) → C2 (optimised).
- Profiling guides speculative optimisations.
- Assumptions (types, branches) may become invalid.
- Deoptimisation falls back to slower code.
- Megamorphic call sites, class loading trigger it.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.