What is JIT and how is works?

Answers were Sorted based on User's Feedback



What is JIT and how is works?..

Answer / versha

jit is stands for just in time compiler
in case of compilation
source code ->language compiler->MSIL->JIT->native\machine
code

in case of compilation the source code is compiled by its
language compiler like in case of vb.net it is compiled by
its lanfuage comiler and then convert it in MSIL which jit
can understand and then jit compile itand convert it in
machine code
types of jit
1)pre-jit
it compile all methods at one time compilation
2)econo-jit
it compile only those methods which are cslled at run
time
3)normal jit
it compile only those methods which are called at run time
and the mthods which are compiled at one time that is kept
in cache and next time when that need it tack from cache

Is This Answer Correct ?    6 Yes 0 No

What is JIT and how is works?..

Answer / pankaj purohit

Agree with the Versha

But there are some different between Machine code and native
code. JIT convert in Native code and send it to CLR and then
CLR will send it to OS

Different Machine code run in a sequences start form a to z
and native code picks randomly.

Is This Answer Correct ?    0 Yes 0 No

What is JIT and how is works?..

Answer / kirti

An acronym for "just-in-time," a phrase that describes an action that is taken only when it becomes necessary, such as just-in-time compilation or just-in-time object activation

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net General Interview Questions

Using com component in .net?

1 Answers  


Compare & contrast rich client (smart clients or windows-based) & browser-based web application

1 Answers  


Class for getting the info that is on clipboard of our system in a windows App?

1 Answers  


What is Finalizer in .NET define Dispose and Finalize ?

1 Answers   MCN Solutions,


Explain what is the difference between constants and read-only variables?

1 Answers  


What is STA in .NET?

1 Answers  


Is .net capable of supporting multi-thread?

1 Answers  


What is the concept of inheritance and how it works in .net?

1 Answers  


What is garbage collection in .net? Explain the garbage collection process?

1 Answers  


Why MVC programming model preferred?

1 Answers  


why you wouldn't want to write into it even if you could

1 Answers  


How will you load an assembly which is not referenced by current assembly?

1 Answers  


Categories