What is JIT and how is works?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
What is difference between .net and .net core?
What is iis? Have you used it?
What is a variable of implicit type and what is its scope?
When we use windows api in .net is it managed or unmanaged code?
What does il do?
Explain what is heap and what is stack?
How to instantiate a delegate?
What is nmake tool?
What is .net3.0 and .net3.5?
Explain me what is .net web service?
What is static constructor, when it will be fired? And what is its use?
How inheritance works in .net?