What is JIT(Just In Time) and How it works?
Answers were Sorted based on User's Feedback
First i would like to preach about the CLR(Common Language Runtime).Whenever we developed a VB.NET application then we involve two phase of application development.
1)When we write source code for the application.Create classes and objects,debug application and compile them etc..
2)When our source code really executed.
The span which takes place in the second phase is called CLR.
The CLR is a special runtime Environment.This run time is where the source code of an application is compile into a common intermediate language is called(CIL) or Microsoft Intermediate language(MSIL).
When the program is executed then (CIL) code is translated into the native code of the O/S using the JIT compiler.
That is JIT is responsible for compile,and create machine code of a source code.
Work of JIT.
1)Manage memory and resources.
2)Provide maximum throughput.
3)Manage resources & process bandwidth etc.
|Is This Answer Correct ?||22 Yes||1 No|
Answer / megha
JIT is a program which compiles MSIL to machine code,
without this .net has no path to machine code.
Standard JIT: It produces highly optimized machine code and
it caches the code in case it need to access
again.Compilation of IL to native code is very slow however
it produces native code very fast. To make it fast machine
use lot of Ram.
Econo JIT:This is designed for small system which donot
have lot of RAM.But it Produces the code which is not
optimal and also it donot cache the code.
|Is This Answer Correct ?||10 Yes||10 No|
Answer / rajeev
just in time is a compiler that compile msil to machine
native code that genrate exe file to execute application.
|Is This Answer Correct ?||4 Yes||9 No|
Answer / pankaj arya
JIT compile the native code, only that part of code will be
compiled which is needed, rest is not compiled untill not
|Is This Answer Correct ?||6 Yes||12 No|
Answer / pallavi jadhav
Just In Time compiler is another important term in CLR.This
means that take action as soon as request comes.This term
is taken form china people.They dontkeep anything in
inventory. So whenever a resquest for any item arises, they
purches that item & give to requester; this operation is
called as Just In Time.
The MSIL, which we canview using ILDASM, is passed to
CLR,When JIT encounters call to particular method, which
get converted into Native Code.
There are three types of JIT Compiler.
|Is This Answer Correct ?||6 Yes||15 No|
What are the types of generations in garbage collector?
Is there any easy way to convert VB6 programs to VB.Net?
Explain what observations between vb.net and vc#.net?
What is meant by jagged arrays?
What is portable executable?
How to connect a service based database to vb.net forms? Do we have to create any specific database?
is it possible to use flexgrid in vb dotnet?
How does you call and execute a SP in .NET?
Write a program that accepts an array of numbers and a number, and return a string “Yes” if the number is found in the array, “No” if the number is not found in the array.
Difference between a sub and a function?
Explain the difference between datatable and dataset?