what is the role of the jit compiler in net


What is the role of the JIT compiler in .NET Framework?

The JIT compiler is an significant element of CLR, which loads MSIL on target machines for execution. The MSIL is stored in .NET assemblies after the developer has compiled the code written in any .NET-compliant programming language, like Visual Basic and C#.

JIT compiler translates the MSIL code of an assembly and uses the CPU architecture of the target machine to implement a .NET application. It also stores the resulting native code so that it is accessible for subsequent calls. If a code executing on a target machine calls a non-native method, the JIT compiler changes the MSIL of that method into native code. JIT compiler also enforces type-safety in runtime environment of .NET Framework. It checks for the values that are passed to parameters of any method.

For example, the JIT compiler detects any event, if a user tries to assign a 32-bit value to a parameter that can only accept 8-bit value.

 

Request for Solution File

Ask an Expert for Answer!!
DOT NET Programming: what is the role of the jit compiler in net
Reference No:- TGS0310723

Expected delivery within 24 Hours