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 条
  • [21] DEVELOPING MULTIMEDIA FOR ANDROID DEVICES
    Hernandez Dominguez, D.
    Vargas Islas, M.
    Ortiz Vargas, J. A.
    Mendez Guevara, L. C.
    Hernandez Bonilla, B. E.
    Avila Hernandez, J. C.
    5TH INTERNATIONAL CONFERENCE OF EDUCATION, RESEARCH AND INNOVATION (ICERI 2012), 2012, : 2390 - 2392
  • [22] GRAPHICS PROGRAMMING ON ANDROID DEVICES
    Hernandez Ramirez, Luisa Fernanda
    Giraldo Giraldo, Fabian Andres
    2013 8TH COMPUTING COLOMBIAN CONFERENCE (8CCC), 2013, : 43 - 48
  • [23] A Telemonitoring Framework for Android Devices
    Aranki, Daniel
    Kurillo, Gregorij
    Mani, Adarsh
    Azar, Phillip
    van Gaalen, Jochem
    Peng, Quan
    Nigam, Priyanka
    Reddy, Maya P.
    Sankavaram, Sneha
    Wu, Qiyin
    Bajcsy, Ruzena
    2016 IEEE FIRST INTERNATIONAL CONFERENCE ON CONNECTED HEALTH: APPLICATIONS, SYSTEMS AND ENGINEERING TECHNOLOGIES (CHASE), 2016, : 282 - 291
  • [24] AndroProf: A Profiling Tool for the Android Platform
    Sartor, Anderson L.
    Correa, Ulisses B.
    Beck, Antonio C. S.
    2013 III BRAZILIAN SYMPOSIUM ON COMPUTING SYSTEMS ENGINEERING (SBESC 2013), 2013, : 23 - 28
  • [25] Towards Power Profiling of Android Permissions
    Adlard, Kevan
    Ekanayake, Tharanga
    Matrawy, Ashraf
    2015 7TH INTERNATIONAL CONFERENCE ON NEW TECHNOLOGIES, MOBILITY AND SECURITY (NTMS), 2015,
  • [26] PowDroid: Energy Profiling of Android Applications
    Bouaffar, Fares
    Le Goaer, Olivier
    Noureddine, Adel
    2021 36TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING WORKSHOPS (ASEW 2021), 2021, : 251 - 254
  • [27] AndroProf: A profiling tool for the android platform
    20142717906276
    (1) Instituto de Informática, Universidade Federal Do Rio Grande Do sul (UFRGS), Porto Alegre, Brazil; (2) Instituto Federal de Educação, Ciência e Tecnologia Sul-rio-grandense, Charqueadas, Brazil, 1600, (IEEE Computer Society):
  • [28] A Survey Paper on Vulnerabilities in Android OS and Security of Android Devices
    Meshram, P. D.
    Thool, R. C.
    2014 IEEE GLOBAL CONFERENCE ON WIRELESS COMPUTING AND NETWORKING (GCWCN), 2014, : 174 - 178
  • [29] Vulnerabilities in Android webview objects: Still not the end!
    El-Zawawy, Mohamed A.
    Losiouk, Eleonora
    Conti, Mauro
    COMPUTERS & SECURITY, 2021, 109
  • [30] Android4TV: a proposition for integration of DTV in Android devices
    Vidakovic, Milan
    Teslic, Nikola
    Maruna, Tomislav
    Mihic, Velibor
    2012 IEEE INTERNATIONAL CONFERENCE ON CONSUMER ELECTRONICS (ICCE), 2012, : 437 - +