encyclopegia.org

Android Runtime

Android Runtime (ART) is an application runtime environment used by the Android operating system. Replacing Dalvik, the process virtual machine originally used by Android, ART performs the translation of some of the application's bytecode into native instructions that are later executed by the device's runtime environment.

Android Runtime (ART) is an application runtime environment used by the Android operating system. Replacing Dalvik, the process virtual machine originally used by Android, ART performs the translation of some of the application's bytecode into native instructions that are later executed by the device's runtime environment. ==Overview== Android 2.2 "Froyo" brought trace-based just-in-time (JIT) compilation into Dalvik, optimizing the execution of applications by continually profiling applications each time they run and dynamically compiling frequently executed short segments of their bytecode into native machine code. While Dalvik interprets the rest of an application's bytecode, native execution of those short bytecode segments, called "traces", provides significant performance improvements. Unlike Dalvik, ART introduces the use of ahead-of-time (AOT) compilation by compiling the most performance-critical parts of applications (previously, the entire app) into native machine code upon their installation. This way, ART improves the overall execution efficiency and reduces power consumption, which results in improved battery autonomy on mobile devices. At the same time, ART brings faster execution of applications, improved memory allocation and garbage collection (GC) mechanisms, new applications debugging features, and more accurate high-level profiling of applications. To maintain backward compatibility, ART uses the same input bytecode as Dalvik, supplied through standard .dex files as part of APK files, while the .odex files are replaced with Executable and Linkable Format (ELF) executables. Once an application is compiled by using ART's on-device utility, it is run from the compiled ELF executable; as a result, ART eliminates various application execution overheads associated with Dalvik's interpretation and trace-based JIT compilation. Initially, a disadvantage of ART was that additional time was required for compilation when an application was installed, and applications took up slightly more secondary storage (usually flash memory) to store the compiled code. Long AOT compilation became especially problematic when monthly security updates became the norm, locking users out of the OS for a long time after each update. To improve on this, a hybrid approach was introduced in Android 7.0 (Nougat). Newly installed apps run using JIT compilation, and get profiled by the runtime. When the device is idle and charging, the runtime performs AOT compilation on the most frequently used ("hot") code.

References

No reference rows published for this article.

Cite this article

MLA

"Android Runtime." encyclopegia.org, 2026, https://encyclopegia.org/wiki/android-runtime. Accessed 24 November 2026.

Chicago

"Android Runtime." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/android-runtime.

APA

encyclopegia.org. (2026). Android Runtime. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/android-runtime

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Line 3 (Harbin Metro)

enwiki · references available

Young Blood (EP)

enwiki · references available

Phases of ice

enwiki · references available

Christianity and science

enwiki · references available

Legendary (The Summer Set album)

enwiki · references available

Tamaryn Payne

enwiki · references available

A Town Called Paradise

enwiki · references available

Line 1 (Wuxi Metro)

enwiki · references available

Alternative Informatics Association

enwiki · references available

Sir William Earle Welby, 2nd Baronet

enwiki · references available

Volvo B6BLE

enwiki · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1345637505 · 0.5 · snapshot enwiki-001345637505

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.