Role of the JIT compiler

Describe the role of the JIT compiler in .NET Framework?

E

Expert

Verified

The JIT compiler is a significant element of CLR that loads MSIL on the target machines for implementation. MSIL is stored in .NET assemblies after a developer have compiled the code written in some .NET-compliant programming language, like Visual Basic, C# and C++.

A JIT compiler interprets the MSIL code of an assembly and utilizes the CPU architecture of a target machine to perform a .NET application. It also stores the resulting local code so that it is available for successive calls. If a code executing on the target machine calls a non-local method, a JIT compiler converts the MSIL of method in the native code. JIT compiler also implements type-safety in runtime environment of .NET Framework. It also checks for values which are passed to parameters of some methods. Such as, the JIT compiler notices any event, if a user tries to allocate a 32-bit value to a parameter which can only recognize 8-bit value.

   Related Questions in DOT NET Programming

©TutorsGlobe All rights reserved 2022-2023.