• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.
I keep seeing this everywhere, yet when I search it nothing comes up? Can someone explain JIT to me, please?

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!
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones