• 5,786,275
    REGISTERED
  • 52,016
    ONLINE NOW

BREAKING: New Runtime Compiler in Android 4.4 to Possibly Bring Better Performance in Future Releases

BREAKING: New Runtime Compiler in Android 4.4 to Possibly Bring Better Performance in Future Releases

Android 4.4 KitKat ushers in several new and exciting features, many of which we talked about last night. One new and unexpected feature addition, however, appears to be a different real time compiler engine. In addition to Dalvik, references to ART have appeared under Android’s Developer Options menu. Not too long ago, Google purchased the French company Flexycore. While Flexycore has nothing to do with ART, the purchase and ART compiler show Google’s renewed focus on improving device performance.

As can be seen in the screenshot to your right, there is now a menu allowing you to choose between Dalvik and ART within Developer options. Switching from Dalvik to ART switches from the libdvm.so library to libart.so. And rather than the ODEX files read by the Dalvik VM, ART appears to use OAT files. Accordingly, Android 4.4 source also includes a dex2oat program to convert ODEX files into OAT files compatible with ART.

It is important to keep in mind that this is currently “hidden,” as it breaks the emulator. However, it has far reaching potential in that it can compile Android apps into more native code than what’s currently available through Android’s JIT.

Exciting times, folks. Looks like Android 4.4 will have plenty of new features that are just waiting to be uncovered.

Update: More information on ART can now be found on the Android Source Code Documentation Website.

[Many thanks to XDA Forum Member atomicrat2552 for the tip and to Developer Admin Pulser_G2 and Elite Recognized Developer Xplodwild for the additional research!]

_________
Want something on the XDA Portal? Send us a tip! -- Join us for xda:devcon 2014!
Advertisment
Advertisement

XDA TV: Most Recent Video

Buy/Sell on Swappa

  • Nexus 5 (Unlocked) buy | sell
  • Galaxy Note 3 (T-Mobile) buy | sell
  • HTC One M7 (Verizon) buy | sell
  • Galaxy S 5 (Unlocked) buy | sell
  • Nexus 7 2013 buy | sell
  • Swappa is the official marketplace of XDA