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.
Types:
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
needed.
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.
Standard JIT
Pre-JIT
ECONJIT
Is This Answer Correct ? | 6 Yes | 15 No |
What is different between web.config and machine.config and where it will be ?
What is the difference between value and reference types?
what is delegates
Explain managed code?
Compare c# and visual basic.net?
Explain the advantages of vb.net?
What do you mean by Redim in VB.NET?
What is the Difference between Overriding and overloading?
What is the differnce between managed code and unmanaged code?
is ADO.NET important to connect sql server? is any other way to connect sql server?
What is break mode? What are the options to step through code?
sir i want to ask you that how can i fetch or get sql data into texboxes.where i want to show record in specific texboxes related to student information.when i click on button all data show on texboxes when i put id or name plz inform me on my id