Differents types of JUST-IN-TIME(JIT) AND ITS WORK PLACE
Different types of JIT and its work:-
Definition of JIT:-
The Just-In-Time (JIT) compiler is a component of the runtime environment that improves the performance of Java applications by compiling bytecodes to native machine code at run time.When a method has been compiled, the JVM calls the compiled code of that method directly instead of interpreting it.
Differents type of JIT:-
There are three(3) types of JIT:-
1. Normal-JIT: - Normal-JIT compiles only those methods that are called at runtime.
These methods are compiled the first time they are called, and then they are stored in
cache. When the same methods are called again, the compiled code from cache is used
for execution.
These methods are compiled the first time they are called, and then they are stored in
cache. When the same methods are called again, the compiled code from cache is used
for execution.
2. Econo-JIT: - Econo-JIT compiles only those methods that are called at runtime.
However, these compiled methods are removed when they are not required.
However, these compiled methods are removed when they are not required.
3. Pre-JIT: - Pre-JIT compiles complete source code into native code in a single compilation cycle. This is done at the time of deployment of the application.
It's work place:-
It also enables you to compile once and then run on any number of operating systems.Before MSIL(MS Intermediate Language) can be executed,it most converted by .net/Dot Net Framework Just- in -time (JIT) compiler to native code,which is CPU specific code that run on some computer architecture as the JIT compiler.
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment