What's new in Android Runtime
summary
Android P adds three concrete ART features: CompactDex converts APK Dex into a deduplicated on‑device format that shrinks Dex storage ~11.6% and saves about 12 bytes per method header; compiler optimizations inline and sink Kotlin null‑checks (removing an extra call and a string load) plus better loop/vector intrinsics; and cloud profiles upload JIT profiles, aggregate a small alpha/beta sample into a core profile, and ship it at install to bootstrap optimizations, yielding ~20% average startup improvement (Maps/Docs ~28–33%, Camera ~12.6%).
AI-written summary · about
chapters (26)
- 0:00Intro
- 0:20What is Art
- 1:12How Art has changed
- 3:43Optimizations
- 5:04Null Check
- 6:09Optimization
- 7:10Memory and Storage
- 8:22Application Review
- 9:26Dex File Contents
- 10:24Compact Dex
- 11:39Dex Processing
- 14:08Efficiency Results
- 14:49Layout Optimizations
- 18:05How does it work
- 20:30Profiles
- 21:59Core Profiles
- 24:38Metadata Files
- 25:32Device Profile
- 26:50Core Profile
- 27:36Core Profile Graph
- 28:39Core Profile Union
- 31:29Are we shipping unnecessary code
- 33:33What is profile code
- 34:43What is hot code
- 35:59Hot code breakdown
- 37:13Summary
related talks
55mCompilers. Dalvik. ART. And everything in between
37mDeep dive into the ART runtime
34mAndroid or the ART of Optimizing Java Code
37mUnderstanding Android Runtime (ART) for faster apps
36mWhat's new in Android
47mWhat's New in Android Studio
46mNuances of Android Runtime Compared to HotSpot VM
32mRedex, Your Build, And You
