search
Login

Categories


C Books Guide and List
C++ Books Guide and List
Best Java Books

3.8k questions

4k answers

117 comments

10.7k users

0 votes
26 views
asked Expert 13.2k points 26 40 57

1 Answer

0 votes
The JIT compiler is an important 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, such as Visual Basic and C#.
 
JIT compiler translates the MSIL code of an assembly and uses the CPU architecture of the target machine to execute 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 converts 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.
 
answered Guru 24.6k points 29 51 75

Related questions

0 votes
1 answer 24 views
24 views
asked sara Guru 24.6k points 29 51 75
0 votes
1 answer 16 views
16 views
asked sara Guru 24.6k points 29 51 75
0 votes
1 answer 44 views
44 views
asked keem Expert 13.2k points 26 40 57
0 votes
1 answer 38 views
38 views
asked john Guru 27.1k points 31 47 92
0 votes
1 answer 11 views
11 views
asked john Guru 27.1k points 31 47 92
...