Question { Siemens, 15099 }
What is JIT(Just In Time) and How it works?
Answer
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.