Different Types of JIT(Just IN Time) Compiler
Posted By :
Bipul Kumar Tiwari,
What is JIT:
While compiling of .NET program, its code is converted into Common Intermediate Language (MSIL) code that is done by Common Language Runtime.
But while executing the program this CIL code is converted into Machine code or Native code that is done by JIT Compiler.
Types of JIT:
-
Normal-JIT COMPILER:
Normal-JIT compiles only those methods that are called at runtime. These methods are compiled only first time when they are called, after complie
they are stored in cache called as JITTED . When the same methods are called again, the compiled code from cache is used for execution.
-
Econo-JIT COMPILER:
Econo-JIT compiles only those methods that are called at runtime . and removed them from memory when they are not required or after execution.
-
Pre-JIT COMPILER:
Pre-JIT compiles entire MSIL code into native code in a single compilation cycle. This is done at the time of deployment of the application.