Android ART Optimization in XuanTie C920
summary
Android ART is ported to RV64GC and Android 12 with an implemented interpreter, JIT/AoT compilers and GC; upstreaming completes interpreter (Mar 2023), ENT interpreter (Jun 2023) and the Dex compiler (Oct 2023). Boot time falls from ~20 minutes to ~1 minute then to ~47 seconds on TH1520. Benchmarks (CaffeineMark, LinpackJava, binarytrees, etc.) show ~20% gain on CaffeineMark, >30% in scientific math and up to 5× on small tests after adding ~50 custom instructions and bit-manipulation extensions; CodeCache and oat performance both improve.
AI-written summary · about
chapters (7)
- 0:00Introduction to Android ART
- 3:30ART compilation strategies
- 5:16Dex compiler architecture
- 6:01History of RISC-V porting
- 9:29Upstreaming and contributions
- 10:55Instruction set performance
- 13:38Future hardware and ABI plans
related talks
37mDeep dive into the ART runtime
34mAndroid or the ART of Optimizing Java Code
55mCompilers. Dalvik. ART. And everything in between
37mUnderstanding Android Runtime (ART) for faster apps
18mProgress in Porting Android onto RISC-V: Testing, Performance and Open Source
29mWhat's new in app performance
39mWhat's new in Android Runtime
20mExploration of Productization of Android on RISC-V
