Jit?


Last Updated:

  1. Flames92

    Flames92 Active Member This Topic's Starter

    Joined:
    Dec 12, 2009
    Messages:
    28
    Likes Received:
    0
    I keep seeing this everywhere, yet when I search it nothing comes up? Can someone explain JIT to me, please?
     

    Advertisement
  2. scary alien

    scary alien not really so scary Moderator

    Joined:
    Mar 5, 2010
    Messages:
    21,636
    Likes Received:
    21,968
    Here's a good, brief explanation (taken from Google Android developer explains more about Dalvik and the JIT in Froyo | Android Central):

    Google's Dan Bornstein recently took to the Android Developers Blog to explain more about Dalvik and Jit. And he turns it into plain English far better than I could:


    We added a Just In Time (JIT) compiler to the Dalvik VM. The JIT is a software component which takes application code, analyzes it, and actively translates it into a form that runs faster, doing so while the application continues to run. If you want to learn more about the design of the Dalvik JIT, please watch the excellent talk from Google I/O 2010 given by my colleagues Bill Buzbee and Ben Cheng, which should be posted to YouTube very soon.

    To be clear, the differences aren’t always dramatic, nor do they apply uniformly to all applications. Code that is written to run the CPU all-out can now do more in the same amount of time (running faster), and code that is written to be rate-limited can get its work done using less time and less of the CPU (using less battery). On the performance front in particular, we have seen realistic improvements of 2x to 5x for CPU-bound code, compared to the previous version of the Dalvik VM. This is equivalent to about 4x to 10x faster than a more traditional interpreter implementation.

    At least I thought it was good. :D Hope this helps. Cheers!
     
    benso87, timmywa and Flames92 like this.

Share This Page

Loading...