In this blog, I’m explaining about JIT Compiler in .Net
JIT stands for Just in time compiler. It converts the MSIL code to native code as it is needed during
code execution. It is called just in time since it converts the MSIL code to CPU native code. When it is required within code execution.
Different Types of JIT
1)Pre-JIT: Compiles the entire source code during compilation and is used at the time of deployment.
2) Econo-JIT:Compiles methods that are called during run time.
3)Normal-JIT This complies only those methods that are called at runtime. These methods are compiled only first time when they are called, and then they are stored in memory cache. This memorycache is commonly called as JITTED. When the same methods are called again, the complied code from cache is used for execution.
Leave Comment