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.
Mike McCrary · Jul 31, 2015 at 03:56 pm · 1 comment

CloudPlayer: DIY HiFi Music Streaming Solution

In our Helpful Guide to Music Streaming Services, we mentioned several different services that offer ways to stream catalogs of music directly to your device. While each service has their benefits and drawbacks, the common theme among them is to give you access to a vast library of music without the need to store your own, and charge you a monthly fee for the privilege. But what if you already had access to your own catalog of music? Sure, there...

XDA NEWS
GermainZ · Jul 31, 2015 at 01:03 pm · 1 comment

Optimize Battery Life with This Useful App

Battery life is an important aspect of your smartphone, especially if you use it for more than just calls on the go. Since you're on XDA, you probably do and want to get the most out of your battery. Now, you can't magically expand its size but no matter how much its capacity is, you should make sure it's not draining faster than it should be. Your phone's processor runs at different frequencies when you're using the device. The CPU...

XDA NEWS
Mario Tomás Serrafero · Jul 31, 2015 at 11:00 am · 3 comments

The OnePlus 2 & The Year of Smartphone Compromises

We are very close to entering the last third of 2015, and we have now seen many of the biggest flagship lines issue their latest iterations. Phones like the LG G4 and Galaxy S6 were some of the most anticipated devices in smartphone history, and the hype surrounding the M9 and OnePlus 2 had us discussing for weeks. But for the most part, the awe has vanished.   There is a feeling that virtually all of us at the XDA office...

XDA NEWS