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

What is meant by tempdata in mvc?

554


What are Scaffold templates in ASP.Net MVC?

589


What are the difference between asynchronous controller implementation between asp.net mvc 3 & asp.net mvc 4?

591


Which are the important namespaces used in ASP.Net MVC?

608


What is the use of web api ? Why web api needed, if you have already restful services using wcf ?

553






What is razor code?

602


What is route config?

561


Explain how you can send the result back in JSON format in MVC?

589


Is .net framework going away?

569


Explain the advantage of packaging over xcopy in .net?

552


Is mvc 4 supporting windows azure sdk (software development kit) ?

570


Where is tempdata stored?

560


what is complex type?

603


i want to take the fast track training on >net Frame work and work flows and share point could you tellme the good institutes for that cources

1584


Explain the methods used to render the views in ASP.Net MVC?

639