DroidPerf: Profiling Memory Objects on Android Devices

被引:4
|
作者
Li, Bolun [1 ]
Zhao, Qidong [1 ]
Jiao, Shuyin [1 ]
Liu, Xu [1 ]
机构
[1] N Carolina State Univ, Raleigh, NC 27695 USA
关键词
Profiling; memory inefficiencies; performance; Android; LOCALITY;
D O I
10.1145/3570361.3592503
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Optimizing performance inefficiencies in memory hierarchies is well-known for native languages, such as C and C++. There are few studies, however, on exploring memory inefficiencies in Android Runtime (ART). Running in ART, managed languages, such as Java and Kotlin, employ various abstractions, such as runtime support, ahead-of-time (AOT) compilation, and garbage collection (GC), which hide important execution details from the plain source code. In this paper, we develop DroidPerf, a lightweight, object-centric memory profiler for ART, which associates memory inefficiencies with objects created and used in Android apps. With such object-level information, DroidPerf is able to guide locality optimization on memory layouts, access patterns, and allocation patterns. Guided by DroidPerf, we optimize a number of popular Android apps and obtain significant performance gains. Many inefficiencies are confirmed by the code authors and optimization patches are under evaluation for upstreaming. As a practical tool, DroidPerf incurs similar to 32% runtime overhead and similar to 14% memory overhead on average. Furthermore, DroidPerf works in the production environment with off-the-shelf hardware, OS, Dalvik virtual machine, ART, and unmodified Android app source code.
引用
收藏
页码:75 / 89
页数:15
相关论文
共 50 条
  • [11] Profiling Android Vulnerabilities
    Jimenez, Matthieu
    Papadakis, Mike
    Bissyande, Tegawende F.
    Klein, Jacques
    2016 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY (QRS 2016), 2016, : 222 - 229
  • [12] Post-Mortem Memory Analysis of Cold-Booted Android Devices
    Hilgers, Christian
    Macht, Holger
    Mueller, Tilo
    Spreitzenbarth, Michael
    2014 8TH INTERNATIONAL CONFERENCE ON IT SECURITY INCIDENT MANAGEMENT & IT FORENSICS (IMF 2014), 2014, : 62 - 75
  • [13] Android Botnets: A Serious Threat to Android Devices
    Anwar, Shahid
    Zolkipli, Mohamad Fadli
    Inayat, Zakira
    Odili, Julius
    Ali, Mushtaq
    Zain, Jasni Mohamad
    PERTANIKA JOURNAL OF SCIENCE AND TECHNOLOGY, 2018, 26 (01): : 37 - 70
  • [14] Investigating the Influence of CPU Load, Memory Usage and Environmental Conditions on the Jittering of Android Devices
    Benndorf, Maik
    Kaden, Marika
    Ringsleben, Frederic
    Roschke, Christian
    Thomanek, Rico
    Gaedke, Martin
    Haenselmann, Thomas
    PROCEEDINGS OF 2018 VII INTERNATIONAL CONFERENCE ON NETWORK, COMMUNICATION AND COMPUTING (ICNCC 2018), 2018, : 102 - 106
  • [15] Hole distributions in NROM devices: Profiling technique and correlation to memory retention
    Padovani, Andrea
    Larcher, Luca
    Pavan, Paolo
    2007 IEEE INTERNATIONAL RELIABILITY PHYSICS SYMPOSIUM PROCEEDINGS - 45TH ANNUAL, 2007, : 654 - +
  • [16] Memory Management in Android
    Jain, Jignesh
    Satra, Meet
    Jain, Pratik Kumar
    Johri, Era
    PROCEEDINGS OF THE 2017 INTERNATIONAL CONFERENCE ON BIG DATA ANALYTICS AND COMPUTATIONAL INTELLIGENCE (ICBDAC), 2017, : 257 - 261
  • [17] A platform for automating battery-driven batch benchmarking and profiling of Android-based mobile devices
    Hirsch, Matias
    Mateos, Cristian
    Zunino, Alejandro
    Toloza, Juan
    SIMULATION MODELLING PRACTICE AND THEORY, 2021, 109
  • [18] AGC on Android Devices for GNSS
    Lee, Dong-Kyeong
    Spens, Nicholas
    Gattis, Benon
    Akos, Dennis
    PROCEEDINGS OF THE 2021 INTERNATIONAL TECHNICAL MEETING OF THE INSTITUTE OF NAVIGATION, 2021, : 33 - 41
  • [19] Privacy Concerns on Android Devices
    Khatoon, Asma
    Corcoran, Peter
    2017 IEEE INTERNATIONAL CONFERENCE ON CONSUMER ELECTRONICS (ICCE), 2017,
  • [20] Cognitive Streaming on Android Devices
    Vega, Maria Torres
    Mocanu, Decebal Constantin
    Barresi, Rosario
    Fortino, Giancarlo
    Liotta, Antonio
    PROCEEDINGS OF THE 2015 IFIP/IEEE INTERNATIONAL SYMPOSIUM ON INTEGRATED NETWORK MANAGEMENT (IM), 2015, : 1316 - 1321