Tiered compilation, C1 and C2 compilers, method inlining, escape analysis, loop optimisations, on-stack replacement, and deoptimisation. Plus: JVM profiling with JFR and async-profiler — finding real hotspots instead of guessing.
// Lessons
- 01soon
Interpretation and Profiling — The Slow Start That Pays Off
- 02soon
The C1 Compiler — Fast, Lightly Optimised Code
- 03soon
The C2 Compiler — Aggressive Optimisation from Profile Data
- 04soon
Tiered Compilation — The Five Levels of JIT
- 05soon
Method Inlining — The Single Most Important JIT Optimisation
- 06soon
Escape Analysis — Stack Allocation and Lock Elision
- 07soon
Loop Optimisations — Unrolling, Vectorisation and Elimination
- 08soon
On-Stack Replacement — JIT-ing Code That Is Already Running
- 09soon
Deoptimisation — When JIT Assumptions Break
- 10soon
JVM Profiling — JFR, async-profiler and Reading Flamegraphs