Tagged articles

Tiered Compilation

4 articles · Page 1 of 1
Dabaoshi
Dabaoshi
Jul 31, 2026 · Fundamentals

Is Java Interpreted or Compiled? Understanding the JVM’s JIT Execution

This article explains why the JVM combines interpretation and Just‑In‑Time compilation, how it detects hot code with invocation and back‑edge counters, the tiered C1/C2 compilation process, key JIT optimizations like method inlining, and how to observe JIT activity using JVM flags.

GraalHotSpotJIT
0 likes · 16 min read
Is Java Interpreted or Compiled? Understanding the JVM’s JIT Execution
21CTO
21CTO
Jun 10, 2025 · Backend Development

Unlock Java Performance: How JIT and Tiered Compilation Supercharge Your Apps

This article explains how Java's Just‑In‑Time (JIT) compilation and tiered (layered) compilation work together to transform bytecode into native code, improve runtime performance, balance startup speed, and offers practical configuration tips for fine‑tuning JVM behavior.

GraalVMHotSpotJIT
0 likes · 10 min read
Unlock Java Performance: How JIT and Tiered Compilation Supercharge Your Apps
Cognitive Technology Team
Cognitive Technology Team
Mar 27, 2025 · Fundamentals

Understanding Tiered Compilation in the JVM

This article explains the JVM's tiered compilation mechanism, detailing the client (C1) and server (C2) JIT compilers, the five compilation levels, code cache organization, relevant JVM flags, and demonstrates method compilation lifecycle through illustrative Java code examples and log analysis.

Code CacheCompilation LevelsJIT
0 likes · 13 min read
Understanding Tiered Compilation in the JVM
Alibaba Cloud Developer
Alibaba Cloud Developer
Jul 18, 2024 · Fundamentals

Unlock JVM Performance: How Tiered Compilation and JIT Optimizations Work

This article explores the JVM's tiered compilation mechanism, detailing how the interpreter, C1 and C2 compilers, code cache segmentation, and various JIT optimizations such as inlining, loop unrolling, escape analysis, and safepoint handling affect startup speed and runtime performance, with practical parameter tuning tips.

JIT OptimizationJVMJava performance
0 likes · 29 min read
Unlock JVM Performance: How Tiered Compilation and JIT Optimizations Work