Just in Time Compilers

  • Thread starter Thread starter Emmanuel Mathew
  • Start date Start date
E

Emmanuel Mathew

Hi friends,

I know that there are three JITs in CLR. But anybody of you tell me how I
can choose between these JITs while compiling the project before execution?

Lot of Thanks in Advance.

Thanks and Regards
Emmanuel Mathew
 
Emmanuel,
Out of curiosity, how do you *know* there are three JITs in the CLR? (a link
would be nice).

As I only know of a single JIT in the CLR. The one that will convert your IL
code to machine code when you execute the program.

Unless you are thinking of the C#, VB.NET or J# compilers which will convert
C#, VB.NET & J# respectively source code to IL code.

Or ASP.NET that will convert .ASPX & .ASCX source files into C#, VB.NET, or
J# source files, which then are compiled by the C#, VB.NET or J# compilers,
and finally JIT by the single JIT compiler...

Thanks
Jay
 
I do know two different JIT compilers, the "normal" one you refered to, and
the debug-JIT, that is used whan a program is launched from a debugger. The
later one has a few differences, especially that it doesn't inline functions
(so you an step into them in the debugger). The only way I know to choose
this JIT is to launch the app in a debugger.

Also, programs compiled with the debug flag are JITed differently (no
inlining, different GC behaviour), but I think this is acutally the same
debug-JIT as the one used by debuggers. And again, it's pretty obvious how
to choose this JIT.

Are there maybe different JITs for Pentium/Athlon CPUs? I think the 2.0
framework will have a separate 64-bit JIT, but I never heared of different
JITs in the 1.1 framework.

So, I agree, a link to some document about these three JITs would be nice...

Niki
 
Back
Top