Wednesday, July 22, 2015

JIT Compiler

JIT (Just-In-Time) compiler is used to improve performance. JIT compiles parts of the byte code that have similar functionality at the same time, and hence reduces the amount of time needed for compilation.

JIT also known as second compiler is present in the JVM.

JIT is enabled by default and operates at runtime.

The JIT analyzes the behaviour of a program while it runs and looks for opportunities to optimize the bytecode.

To disable JIT, Djava.compiler = NONE parameter can be used.

No comments:

Post a Comment

Home