Will Verduzco · Oct 31, 2013 at 05:30 pm

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!

Will Verduzco

willverduzco is an editor on XDA-Developers, the largest community for Android users. Will Verduzco is the Portal Administrator for the XDA-Developers Portal. He has been addicted to mobile technology since the HTC Wizard. But starting with the Nexus One, his gadget love affair shifted to Google's little green robot. He is also a Johns Hopkins University graduate in neuroscience and is now currently studying to become a physician. View willverduzco's posts and articles here.
Emil Kako · Jun 29, 2015 at 01:36 pm · 5 comments

Do You Have Insurance on Your Smartphone?

While affordable smartphones are becoming more available, the majority of high-end flagships are still upwards of $600. With these devices carrying such a hefty price, people look for different ways to protect their investment. The most popular way to protect your smartphone is just to buy a case, but many people like the added peace of mind that comes with insuring your phone. We're interesting in seeing just how many of you actually buy insurance on your smartphone. Let us know why or why not in the comments below.

DISCUSS
Jack Jennings · Jun 29, 2015 at 12:45 pm · 3 comments

Apple Music Will Increase iTunes Match to 100,000 Songs

The battle for music streaming subscription dominance is starting to really heat up, with Apple planning their next offensive in line with the release of iOS9 later in the year. A major draw for these kind of services is the ability to have your current music library uploaded and copies of the tracks available to be streamed on the go.   Today Eddy Cue, an Apple Exec has released some details on how iTunes Match will integrate with the soon to be released...

XDA NEWS
Share This