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 条
  • [41] AppTrace: Dynamic Trace on Android Devices
    Qiu, Lingzhi
    Zhang, Zixiong
    Shen, Ziyi
    Sun, Guozi
    2015 IEEE INTERNATIONAL CONFERENCE ON COMMUNICATIONS (ICC), 2015, : 7145 - 7150
  • [42] Remote Live Forensics for Android Devices
    Ming, Jonathan
    Xie, Mengjun
    2016 IEEE CONFERENCE ON COMMUNICATIONS AND NETWORK SECURITY (CNS), 2016, : 374 - 375
  • [43] Digital forensics and analysis for Android devices
    Li, Zhi
    Xi, Bin
    Wu, Shunxiang
    2016 11TH INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE & EDUCATION (ICCSE), 2016, : 496 - 500
  • [44] A Live Streaming App for Android devices
    Mawlood-yunis, Abdul-Rahman
    2019 6TH INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE AND COMPUTATIONAL INTELLIGENCE (CSCI 2019), 2019, : 1103 - 1106
  • [45] A Lightweight Virtualization Solution for Android Devices
    Chen, Wenzhi
    Xu, Lei
    Li, Guoxi
    Xiang, Yang
    IEEE TRANSACTIONS ON COMPUTERS, 2015, 64 (10) : 2741 - 2751
  • [46] Embedding Android devices in automation systems
    Nicolae, Maximilian
    Lucaci, Laurentiu
    Moise, Ilona
    2013 IEEE 19TH INTERNATIONAL SYMPOSIUM FOR DESIGN AND TECHNOLOGY IN ELECTRONIC PACKAGING (SIITME), 2013, : 215 - 218
  • [47] A Solution to Detect Phishing in Android Devices
    Chorghe, Sharvari Prakash
    Shekokar, Narendra
    INFORMATION SYSTEMS SECURITY, 2016, 10063 : 461 - 470
  • [48] A Bundle Protocol Implementation for Android Devices
    Morgenroth, Johannes
    Schildt, Sebastian
    Wolf, Lars
    MOBICOM 12: PROCEEDINGS OF THE 18TH ANNUAL INTERNATIONAL CONFERENCE ON MOBILE COMPUTING AND NETWORKING, 2012, : 443 - 445
  • [49] Monitoring of Android Devices using SNMP
    Grover, Karan
    Naik, Vinayak
    2016 8TH INTERNATIONAL CONFERENCE ON COMMUNICATION SYSTEMS AND NETWORKS (COMSNETS), 2016,
  • [50] Acoustic Pattern Recognition on Android Devices
    Moller, Maiken Bjerg
    Gaarsdal, Jesper
    Steen, Kim Arild
    Gregersen, Torben
    2013 SIGNAL PROCESSING: ALGORITHMS, ARCHITECTURES, ARRANGEMENTS, AND APPLICATIONS (SPA), 2013, : 279 - 284