locked
Types of JIT Compiler RRS feed

  • Question

  • Hi all,

    I heard that there are different types of JIT compilers available.Is it so?

    If YES..What are the different types of JIT compilers available right now?

    Thanks,
    Suresh.
    Thursday, September 15, 2005 10:28 AM

Answers

  • I guess there are specialized compilers for each platform (x86, x64...), but they would not be "available" - the framework would choose the correct one for the platform it runs on.

    I've never heard of any other JIT compilers to choose from...
    Thursday, September 15, 2005 6:51 PM
  • NGWS - now that's a blast from the past.  It stood for Next Generation Web Services (one of the many code names .NET went through before it was released).

    You're correct that Pre-JIT is what today is called NGEN.  You can use it by running ngen install <path to assembly>

    -Shawn

    Tuesday, May 23, 2006 11:51 PM

All replies

  • I guess there are specialized compilers for each platform (x86, x64...), but they would not be "available" - the framework would choose the correct one for the platform it runs on.

    I've never heard of any other JIT compilers to choose from...
    Thursday, September 15, 2005 6:51 PM
  •  

    Hi,

        Yes u r correct, there are three types of JIT is there.

                         Pre-JIT (Compiles entire code into native code at one stretch)

               Ecno-JIT (Compiles code part by part freeing when required)

             Normal JIT (Compiles only that part of code when called and places in   cache)

     

    Tuesday, May 16, 2006 9:47 AM
  • Interesting... As far as I can make out PreJIT is only part of the NWGS (whatever that was) technology previews. And "Econo-Jit" presumably is the JIT compiler for handheld devices. Did PreJIT ever get pushed out in release form (or is NGEN the final incarnation of PreJIT?)?

    How does one get one's hands on the PreJIT jitter?

     

    Tuesday, May 16, 2006 8:20 PM
  • NGWS - now that's a blast from the past.  It stood for Next Generation Web Services (one of the many code names .NET went through before it was released).

    You're correct that Pre-JIT is what today is called NGEN.  You can use it by running ngen install <path to assembly>

    -Shawn

    Tuesday, May 23, 2006 11:51 PM
  • Hi..

     

     thanks..

     

     may i get more details regarding the functions

     

     of JIT compilers..

    Wednesday, May 2, 2007 7:08 AM
  • Types Of JIT Compilers are as stated below :
    (1) PRE JIT

    (2) ECONO JIT

    (3) NORMALE JIT


    (1) PRE JIT : It Compiles complete source code to native code In a single Compilation.

    (2) ECONO JIT : It compiles only those methods that are called at Runtime.

    (3) NORMALE JIT : It compiles only those methods that are called at Runtime and are stored in cache.When these methods called again they retrieve from cache.
    Tuesday, October 19, 2010 4:47 AM
  • Choices for JIT compilation:

    1.  Econo JIT: Runs when the application is opened. This compiler has a very fast compilation time, but it produces un-optimized code - thus the program may start quickly but would run slow. This compiler is suitable for running scripts.

    2.  Standard JIT: Runs whenever the application is opened. This compiler has a somewhat slow compilation time, but it produces highly optimized code. Most of the time you would use this compiler to run your intermediate code.

    3.  Installation Time Compilation: This technique allows you to compile your application into native code at the time of installation on the computer. So the installation may take a few seconds/minutes more, but the code would run at speeds very close to a native C/C++ application.

    4.  Direct Compilation: Compiles source code directly into native code without any translation inbetween. This is ideal for applications that are to target only one platform, or are to target multiple versions of that platform. If it is to target more than one platform, the compiler would produce multiple output assemblies; each targeting one of those platforms.


    Nevin Janzen (Visit my Website)
    If this post answers your question, please click Propose As Answer. If this post is helpful, please click Vote As Helpful.

    • Proposed as answer by Nevin Janzen Friday, April 27, 2012 12:03 AM
    Friday, April 27, 2012 12:03 AM