Loading...
Lightweight Code Outlining for Android Applications
Jiang, Shuo ; Liang, Zhanhao ; Sun, Hanming ; Shang, Wenhan ; Tong, Bifeng ; Yuan, Mengting ; Xue, Chun ; Ma, Jiang ; Li, Qing-An
Jiang, Shuo
Liang, Zhanhao
Sun, Hanming
Shang, Wenhan
Tong, Bifeng
Yuan, Mengting
Xue, Chun
Ma, Jiang
Li, Qing-An
Files
Loading...
3776753.pdf
Adobe PDF, 552.24 KB
Supervisor
Department
Computer Science
Embargo End Date
Type
Journal article
Date
2025
License
Language
English
Collections
Research Projects
Organizational Units
Journal Issue
Abstract
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 Compilation-assisted link-time binary code outlining 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.
Citation
S. Jiang et al., “Lightweight Code Outlining for Android Applications,” ACM Transactions on Architecture and Code Optimization, Dec. 2025, doi: 10.1145/3776753
Source
ACM Transactions on Architecture and Code Optimization
Conference
Keywords
Android systems, code outlining, code size, lightweight
Subjects
Source
Publisher
Association for Computing Machinery
