Lightweight Code Outlining for Android Applications
Android employs Ahead-of-Time (AOT) pre-compilation to enhance application launch speed and runtime performance. However, these generated OAT files over-consume the scarce memory and storage resources on mobile devices, leading to degraded user experience. Our analysis of several Android applications reveals an average code redundancy of 25.4%. To reduce the code size via redundancy elimination, we propose Calibro , a C ompilation- a ssisted li nk-time b ina r y code o utlining method. However, it will incur high build overhead, so we introduce several optimizations to better suit resource-limited mobile devices. Besides, we also propose optional filtering strategies to further meet performance requirements. Experimental results show that, under common scenarios, our method reduces the OAT file code size by 19.6% and the runtime memory usage by 15.4% on average, with negligible runtime performance degradation in terms of user experience and tolerable build overhead. Therefore, the proposed method shows promise for industrial deployment on real-world Android mobile devices.
Authors
- Mengting Yuan (ORCID: https://orcid.org/0000-0001-8758-8668)
- Hanming Sun (ORCID: https://orcid.org/0000-0003-0023-1338)
- Chun Jason Xue (ORCID: https://orcid.org/0000-0002-6431-9868)
- Qingan Li (ORCID: https://orcid.org/0000-0003-0110-5405)
- Jiang Ma (ORCID: https://orcid.org/0009-0004-0259-0144)
- Shu Yan Jiang (ORCID: https://orcid.org/0000-0002-6272-7649)
- Z. Liang (ORCID: https://orcid.org/0009-0000-7052-1782)
- W. Shang (ORCID: https://orcid.org/0009-0000-8702-7078)
- Bifeng Tong (ORCID: https://orcid.org/0009-0001-0614-8845)
Institutions
- China Mobile (China) (CN)
- Wuhan University (CN)
- Mohamed bin Zayed University of Artificial Intelligence (AE)
Publication Details
- Journal
- ACM Transactions on Architecture and Code Optimization
- Published
- 2025-11-13
- DOI
- https://doi.org/10.1145/3776753
- Primary Topic
- Green IT and Sustainability
- Type
- article
- Field-Weighted Citation Impact
- 0.00