What is the use of JIT



What is the use of JIT..

Answer / kirti

JIT (Just - In - Time) is a compiler which converts MSIL code to Native Code (ie.. CPU-specific code that runs on the same computer architecture).

Because the common language runtime supplies a JIT compiler for each supported CPU architecture, developers can write a set of MSIL that can be JIT-compiled and run on computers with different architectures. However, your managed code will run only on a specific operating system if it calls platform-specific native APIs, or a platform-specific class library.

JIT compilation takes into account the fact that some code might never get called during execution. 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 needed during execution and stores the resulting native code so that it is accessible for subsequent calls. The loader creates and attaches a stub to each of a type's methods when the type is loaded. On the initial call to the method, the stub passes control to the JIT compiler, which converts the MSIL for that method into native code and modifies the stub to direct execution to the location of the native code. Subsequent calls of the JIT-compiled method proceed directly to the native code that was previously generated, reducing the time it takes to JIT-compile and run the code.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net Framework Interview Questions

What meant of assembly & global assembly cache (gac) & Meta data

1 Answers  


Explain tempdata in asp.net mvc?

0 Answers  


What is Attribute Routing in ASP.Net MVC?

0 Answers  


Explain the advantages and disadvantages of ASP.Net MVC over ASP.NET?

0 Answers  


Mention the core components of .net framework?

0 Answers  






What is renderbody?

0 Answers  


Can you declare an override method to be static if the original method is non-static

1 Answers  


How to set background for total website, on that another another layer, in that we keep website data,,for example see www.msn.com. On one faded background we ll have layer like other background..Do explain how its possible

2 Answers  


My organization went through the approval process of supporting the .net framework 2.0 in production. Do we need to go through the same process all over again for the .net framework 3.0? Do I need to do any application compatibility testing for my .net framework 2.0 applications?

0 Answers  


What is entity framework used for?

0 Answers  


Explain the tools used for unit testing in ASP.Net MVC

0 Answers   B-Ways TecnoSoft,


How we can call a javascript function on the change of a dropdown list in mvc?

0 Answers  


Categories