Professional Documents
Culture Documents
Jit Compiler (JVM)
Jit Compiler (JVM)
JIT compiler:- it is a component of JRE that improves the performance of the java
applications at runtime. It helps to improve the performance of java programs by
compiling bytecodes into native machine code at runtime.
JIT is a feature of JVM which when enabled makes jvm analyze the method calls in
bytecode and compiles them to more native and efficient code.
At this point of time JIT optimizes the priortized method calls. Once these method
calls are compiled , the JVM then executes this optimized code instead of
interpreting it. Ideally the efficiency of the running object will overcome the
inefficiencies of recompiling the program everytime it runs.
While running java programs interpreter inside JVM will run them slowly. To
increase the speed of java program a compiler is created inside the JVM which is
called JIT compiler . The aim of jit compiler is to improve the performance of the
java program