Skip to main content
PreparationZone Logo
PreparationZone
Back to Java

Java · Hard · Pro

C1/C2 tiered compilation — warmup for benchmarks?

JavaMemory & JVMArchitect
Model answerPreview

Tiered compilation

HotSpot uses C1 (fast compile) and C2 (aggressive optimize). Tiered mode runs interpreted → C1 → C2 as methods get hot, balancing startup and peak performance.