thepointman.dev_

Courses / JVM & Runtime

The JIT Compiler

advanced10 lessons

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

  1. 01

    Interpretation and Profiling — The Slow Start That Pays Off

    soon
  2. 02

    The C1 Compiler — Fast, Lightly Optimised Code

    soon
  3. 03

    The C2 Compiler — Aggressive Optimisation from Profile Data

    soon
  4. 04

    Tiered Compilation — The Five Levels of JIT

    soon
  5. 05

    Method Inlining — The Single Most Important JIT Optimisation

    soon
  6. 06

    Escape Analysis — Stack Allocation and Lock Elision

    soon
  7. 07

    Loop Optimisations — Unrolling, Vectorisation and Elimination

    soon
  8. 08

    On-Stack Replacement — JIT-ing Code That Is Already Running

    soon
  9. 09

    Deoptimisation — When JIT Assumptions Break

    soon
  10. 10

    JVM Profiling — JFR, async-profiler and Reading Flamegraphs

    soon