none
about the three JITs RRS feed

  • Question

  • Hi,

    Could you please let me know exactly how the pre-jit, econo-jit and normal-jit  are implemented?

    A descriptive answer is welcome

    Many Thanks...

     

     

    Monday, August 9, 2010 4:57 PM

Answers

  • Hi,

    Thanks for your post.

    Econo-JIT has a faster compilation speed and a lesser compiler overhead than Standard-JIT. However, the Standard-JIT generates more optimized code than the Econo-JIT and includes the verification of MSIL code. Please take a look at here.
    Pre-JIT compiles the whole code into native code in a single compilation. It can be used to optimize the program startup delay.

    The implementation of commercial .NET platform is not publicly available. But we could use the SSCLI (Shared Source CLI) to get a peek into the Standard-JIT and Econo-JIT details. The following links could be helpful.

    1. The CLR x86 JIT, an overview

    2. Introduction to .NET (Search for "Compile code")

    The Pre-JIT could be tuned with types from System.Runtime.CompilerServices namespace. The following link could give you some idea.

    Pre-compile (pre-JIT) your assembly on the fly, or trigger JIT compilation ahead-of-time


    Please mark the right answer at right time.
    Thanks,
    Sam
    • Edited by SamAgain Wednesday, August 11, 2010 2:33 AM refine
    • Marked as answer by SamAgain Monday, August 16, 2010 9:18 AM
    Wednesday, August 11, 2010 2:32 AM