What are the different types of JIT?

In Microsoft .NET there are three types of JIT compilers:

Pre-JIT :- When an application is being deployed, the Pre-JIT complier compiles the complete source code into a local code in a single compilation cycle.

Econo-JIT :- Econo-JIT compiles only those methods that are called at runtime.
However, these compiled methods are removed when they are not required.

Normal-JIT :- Normal-JIT compiles only those methods that are called at runtime and stored in the cache. This increases speed because subsequent calls to these methods are executed from cache.
 
Diffrent type of JIT is:

Normal JIT. This complies only those methods that are called at runtime. ...
Econo JIT. This complies only those methods that are called at runtime and removes them from memory after execution.
Pre JIT. This complies entire MSIL code into native code in a single compilation cycle.
 
There are three types of JIT compilation in .NET as described follow.
.
· Pre - JIT: - In Pre-JIT compilation, complete source code are converted into native code in a single cycle. This is done at the time of application deployment.
.
· Econo - JIT: - In Econo-JIT compilation, compiler compiles only those method which are called at run time. After execution of this method compiled method are removed from memory.
.
· Normal - JIT: - In Normal-JIT compilation, compiler compiles only those method which are called at run time. After executing this method, compiled method are stored in memory cache. Now further calling to compiled method will execute method from memory cached.
 
Back
Top