What is the JIT? JIT stands for "Just In Time," and we use it to describe a Dalvik JIT compiler, which was added to Android with the 2.2 release. It compiles bytecode into native machine code at runtime. Essentially it takes the code for an app, analyzes it and converts it into something that runs faster. It does all this while the application is running, and that's where the "just in time" tag comes from. The JIT compiler designed for Android also can do this with a very short "warm up" time, meaning it doesn't take very long to analyze the code before it starts working. It stores information in a cache in your phone's RAM, which means it's not an ideal solution for devices with low memory. It's been optimized to have a small footprint -- about 100K per process -- but even that is enough to impact performance on older models like the G1 or HTC Magic. This is why most phones that came before the Nexus One never got an official version from Google -- hardware limitations.
You hear terms like "runs faster" or 4 to 5 times performance increase anytime you talk about Android's JIT compiler. A JIT compiler simply saves CPU cycles -- more work can be done for each clock cycle. This means applications that were throttled by CPU performance get faster, and apps that are "rate-limited" (run until they are finished without taxing the processor to the maximum) finish faster and use less battery because of it. Not all applications see a significant speed increase, and most applications written with the NDK or in native code won't see an increase at all, as they don't use the Dalvik virtual machine.
If all this reads like Greek to you, that's OK. To the end user (that's you and me) all we should see is better performance in most of our applications. We certainly saw that when Froyo was released for the Nexus One, and things have just gotten better with every release. For the more technically inclined, check out the video from Android engineers Ben Cheng and Bill Buzbee during Google I/O 2010 where the JIT compiler was introduced.
Previously on Android A to Z: What's an IPS display?; Find more in the Android Dictionary
More from the Android Dictionary
T-Mobile reaches major merger milestone, officially retires Sprint brand
T-Mobile and Sprint have reached a major merger milestone today, as the majority of Sprint stores have been updated with the T-Mobile branding. The newly rebranded stores will serve both Sprint and T-Mobile customers.
Xiaomi Mi TV Stick review: The perfect Fire TV Stick alternative
With the Mi TV Stick, Xiaomi is rolling out a budget Android TV streaming solution that takes on Amazon's Fire TV Stick and the Chromecast. Featuring the same internal hardware as the 4K-enabled Mi Box S and a great remote, the Mi TV Stick could just be the best Android TV box for under $50.
Each person's definition of smartphone 'value' is wildly different
There's a massive difference between the price and value of a phone — and that calculation is different for every person. This is something we should always have in mind when comparing phones and choosing which one is best for us.
The Xperia 1 is still our favorite phone for shooting video
If video recording is your thing, then look no further than the Sony Xperia 1 — it offers a large screen, three great cameras, and extremely robust manual video controls.