Feeds

Android to drop Dalvik VM for high-performance ART in next version

Code changes proclaim death of OS's original code runtime

Top three mobile application threats

The next version of Google's Android smartphone OS may ship with a new code execution engine that improves performance and battery life, if a new report is to be believed.

The current engine, Dalvik, is getting long in the tooth, and developers have long grumbled that it doesn't run their code as efficiently as it could.

Google's answer is the Android Runtime, or ART for short, a drop-in replacement for Dalvik that brings performance-enhancing features such as ahead-of-time (AOT) compilation and improved garbage collection to the Android platform.

The online ad-slinger snuck ART into Android 4.4 "KitKat" as an experimental feature, but it could only be enabled from an Android device's hidden developer options.

In fact, the ART developer homepage explains that "Dalvik must remain the default runtime or you risk breaking your Android implementations and third-party applications," and adds that "some techniques that work on Dalvik do not work on ART."

Screenshot of an Android "KitKat" phone with the option to use ART

ART has been a hidden option on KitKat devices

The Android developers must have been giving ART some serious attention, however, because it looks like the next version of the OS could drop Dalvik altogether.

The change was first spotted by the Android hacker community at XDA Developers, who noticed two curious code commits in the Android Open Source Project. The first removes Dalvik from the main branch of the Android source code, and the second switches the default runtime to ART. Several other changes have since been added that also remove references to Dalvik.

Not that this is any indication that Android devices will start using ART by default any time soon. The code changes were made to the Android Open Source Project, but Google uses its own, internal source code trees to build shipping versions of Android.

Don't expect the switch to happen a future version of KitKat, either, which is currently on version 4.4.3. A change like this is likely too big for a minor point release. And there's little reason to believe that Google plans to launch a major new version of the OS in the near future, when only 13.6 per cent of Android devices are running KitKat now.

But given a change this definitive – the developers even went as far as to post a commit message reading, "Dalvik is dead, long live Dalvik!" – it wouldn't be too much to suspect that ART might have its official debut in Android 5.0 ... whenever it arrives. ®

Maximizing your infrastructure through virtualization

More from The Register

next story
Apple fanbois SCREAM as update BRICKS their Macbook Airs
Ragegasm spills over as firmware upgrade kills machines
HIDDEN packet sniffer spy tech in MILLIONS of iPhones, iPads – expert
Don't panic though – Apple's backdoor is not wide open to all, guru tells us
Mozilla fixes CRITICAL security holes in Firefox, urges v31 upgrade
Misc memory hazards 'could be exploited' - and guess what, one's a Javascript vuln
NO MORE ALL CAPS and other pleasures of Visual Studio 14
Unpicking a packed preview that breaks down ASP.NET
Captain Kirk sets phaser to SLAUGHTER after trying new Facebook app
William Shatner less-than-impressed by Zuck's celebrity-only app
Cheer up, Nokia fans. It can start making mobes again in 18 months
The real winner of the Nokia sale is *drumroll* ... Nokia
EU dons gloves, pokes Google's deals with Android mobe makers
El Reg cops a squint at investigatory letters
Chrome browser has been DRAINING PC batteries for YEARS
Google is only now fixing ancient, energy-sapping bug
prev story

Whitepapers

Top three mobile application threats
Prevent sensitive data leakage over insecure channels or stolen mobile devices.
Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Top 8 considerations to enable and simplify mobility
In this whitepaper learn how to successfully add mobile capabilities simply and cost effectively.
Application security programs and practises
Follow a few strategies and your organization can gain the full benefits of open source and the cloud without compromising the security of your applications.
The Essential Guide to IT Transformation
ServiceNow discusses three IT transformations that can help CIO's automate IT services to transform IT and the enterprise.