What is JIT and how is works ?

Answer Posted / guest

Before Microsoft intermediate language (MSIL) can be
executed, it must be converted by a .NET Framework
just-in-time (JIT) compiler to native code, which is
CPU-specific code that runs on the same computer
architecture as the JIT compiler.
Rather than using time and memory to convert all the MSIL in
a portable executable (PE) file to native code, it converts
the MSIL as it is needed during execution and stores the
resulting native code so that it is accessible for
subsequent calls.
The runtime supplies another mode of compilation called
install-time code generation. The install-time code
generation mode converts MSIL to native code just as the
regular JIT compiler does, but it converts larger units of
code at a time, storing the resulting native code for use
when the assembly is subsequently loaded and executed.
As part of compiling MSIL to native code, code must pass a
verification process unless an administrator has established
a security policy that allows code to bypass verification.
Verification examines MSIL and metadata to find out whether
the code can be determined to be type safe, which means that
it is known to access only the memory locations it is
authorized to access.

Is This Answer Correct ?    43 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

explain lazy loading, eager loading, and explicit loading?

562


What is rxjava used for?

649


What is an asynchronous controller in asp.net mvc?

538


Can you explain renderbody and renderpage in mvc?

574


Explain representational state transfer (rest) in detail?

547






I have 2+ years of fake experience,actually i could not answer for project questions..?how can i answer please suggest me..?

2642


What are Validation Annotations?

568


What is domain class model?

510


explain what does .edmx file contains?

632


How we can invoke child actions in ASP.Net MVC?

572


Are there any parts of the .net framework 3.0 that only work on windows vista?

555


Can you explain model, controller and view in mvc?

562


What is the use of viewmodel in mvc?

604


If we write any code for DataGrid methods, what is the access specifier used for that methods in the code behind file and why?

1968


what is more complex to implement property, methods or event? how can I define criteria to compare the difficulty of implementation between them? for example the number of methods wanted to implements property is 2 methods. how many methods I need it to implements events?

1684