What is JIT?


Last Updated:

  1. Romparoo

    Romparoo Well-Known Member This Topic's Starter

    Joined:
    Feb 13, 2010
    Messages:
    615
    Likes Received:
    74
    I see this listed in some of the custom ROMS, can't figure out what it stands for or what it does.
     

    Advertisement
  2. thenestor

    thenestor Well-Known Member

    Joined:
    Dec 27, 2009
    Messages:
    1,038
    Likes Received:
    316
    Necron80 likes this.
  3. alprazolam

    alprazolam Well-Known Member

    Joined:
    Dec 31, 2009
    Messages:
    1,722
    Likes Received:
    194
    You always make it so easy for others nestor. :D

    So I decided to read the wiki article on it. I realized that you just have to trust that some things have the potential to make your phone run better, even if you have no freaking idea why. My slogan will be..."Good JIT is the shit"
     
  4. majorpay

    majorpay Well-Known Member

    Joined:
    Apr 24, 2010
    Messages:
    232
    Likes Received:
    14
    A just in time compiler is a way of compiling scripts or applications on the fly. It allows an operating system to interpret and compile code (or precompiled code) on the fly instead of having compiled code on the machine (during runtime).

    How this interprets to the speed of an Android device? I'm a little fuzzy on those details. I suppose if the JIT compiler was faster than the binary files or the current method of execution (isn't it JIT anyways?), it would make it faster? It would definitely give an advantage to developers who wanted to code in various languages and expand the capabilities of a device (a good example would be that all Java is interpreted through a JIT compiler).

    If the current method of execution is not JIT, and you are going to JIT, I would suspect you would experience lag at startup while the JIT compiler was loading into memory, and then the speed increase may be noticed at execution...
     
  5. adammsu

    adammsu Well-Known Member

    Joined:
    Feb 22, 2010
    Messages:
    93
    Likes Received:
    3

    this has been my question too... if its already compiled, how will JIT make it faster...
     

Share This Page

Loading...