ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  Dot Net  >>  Dot Net Framework
 
 


 

 
 Dot Net Framework interview questions  Dot Net Framework Interview Questions
 Dot Net Remoting interview questions  Dot Net Remoting Interview Questions
 Dot Net WindowsForms interview questions  Dot Net WindowsForms Interview Questions
 Dot Net General interview questions  Dot Net General Interview Questions
 Dot Net AllOther interview questions  Dot Net AllOther Interview Questions
Question
What is JIT and how is works ?
 Question Submitted By :: Pvr
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is JIT and how is works ?
Answer
# 1
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 ?    3 Yes 1 No
Guest
 
  Re: What is JIT and how is works ?
Answer
# 2
JIT is the just in time compiler,it is quite different with 
other compilers.It compiles the source code just in 
time,and it does not compiles hole code ,only the code is 
to be executed is compiled.there are three tipes of JIT.
pre jit,econo jit,normal jit.
 
Is This Answer Correct ?    4 Yes 0 No
Mahua Dutta
 
 
 
  Re: What is JIT and how is works ?
Answer
# 3
JIT compiler (Just In Time Compiler) is the main part in the
CLR, which converts the MSIL code into the native code. It
compiles the program quickly in an efficient manner.
 
Is This Answer Correct ?    0 Yes 1 No
Anil
 
  Re: What is JIT and how is works ?
Answer
# 4
When compiling the source code to managed code, the 
compiler translates the source into Microsoft intermediate 
language 

(MSIL). This is a CPU-independent set of instructions that 
can efficiently be converted to native code. Microsoft 

intermediate language (MSIL) is a translation used as the 
output of a number of compilers. It is the input to a just-
in-time 

(JIT) compiler. The Common Language Runtime includes a JIT 
compiler for the conversion of MSIL to native code.

Before Microsoft Intermediate Language (MSIL) can be 
executed it, must be converted by the .NET Framework just-
in-time (JIT) 

compiler to native code. This is CPU-specific code that 
runs on the same computer architecture as the JIT compiler. 
Rather 

than using time and memory to convert all of the MSIL in a 
portable executable (PE) file to native code. It converts 
the MSIL 

as needed whilst executing, then caches the resulting 
native code so its accessible for any subsequent calls


JIT 
----

The Just-In-Time (JIT or JITter) compiler, converts the MSIL
(Microsoft Intermediate Language) code into the native code 
(CPU 

Specific code).

The .NET runtime/Common Language Runtime (CLR) ships three 
different classes of JITters. 

<li><b>Econo-JIT</b>: This compiler converts the MSIL code 
into native code without any optimizations. 

<li><b>Standard-JIT</b>: This compiler takes the MSIL code 
and optimizes it. So this compiler requires lot of 
resources like, 

time to compile, larger memory footprint, etc. 

<li><b>PreJIT</b>: This is based on the Main JIT and it 
works like the traditional compilers rather than Just-In-
Time 

compilers. This compiler is used at the time of 
installation.

JIT does not compiles hole code ,only the code is to be 
executed is compiled
 
Is This Answer Correct ?    4 Yes 1 No
Ambikumar
 

 
 
 
Other Dot Net Framework Interview Questions
 
  Question Asked @ Answers
 
Features in .net framework 1.1 ? Digital-GlobalSoft1
Difference between <connectionstring> and <appsettings>  3
what is MVC pattern?  1
what are the different stepts to create shared assemblies?  1
What are the contents of assembly?  2
What is the difference b/w constant & read only variable? IMI-Soft-Engineering3
creating crystal reports in asp.net & vb.net  1
How the framework differentiate between 2 version dlls? eg Version 2.0 and 2.1 dlls are there. both are referred in the code.but we are using only name of that dll not the version number. in run time how the framework know which dll has to be referred? Deloitte1
What is .NET Framework?  3
What is namespace used for loading assemblies at run time and name the methods?  2
Which is the best institute in hyderabad to learn DotNet? Infosys74
What is Global Assembly Cache (GAC) and what is the purpose of it?  2
What are the mobile devices supported by .net platform  1
How can Bitwise OR operator reresents in .Net?? To which alias name a variable points to if it is declared as "int" variable??  1
Can u tell me differences which are introduced in .Net 1.1 and 2.0 and 3.0 and also in 3.5 ? by detailed? ABC1
What are the features that are new in .net 2.0 Emphasis2
What is strong name?  4
What is boxing and unboxing? Kanbay2
What is shared and private assembly ? Accenture2
Is .NET a runtime service or a development platform?  1
 
For more Dot Net Framework Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com