Skip to main content

JIT Compiler

Learn JIT Compiler (JVM Performance, Java) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

6. Basic Concepts What is the JIT Compiler? JIT stands for Just-In-Time compiler. It is a part of the JVM that converts frequently used bytecode into native machine code while the program is running , so it can execute much faster. Java code goes through two stages before it becomes machine instructions: javac compiles .java source files into .class bytecode (platform-independent). The JVM then either interprets that bytecode line by line, or JIT-compiles hot parts of it into native code for the actual CPU.

More lessons in JVM Performance