Object lifetime trend of modern Android applications for GC performance improvement

Shintaro Hamanaka, S. Kurihara, S. Fukuda, R. Mori, M. Oguchi, Saneyasu Yamaguchi
{"title":"Object lifetime trend of modern Android applications for GC performance improvement","authors":"Shintaro Hamanaka, S. Kurihara, S. Fukuda, R. Mori, M. Oguchi, Saneyasu Yamaguchi","doi":"10.1145/3022227.3022311","DOIUrl":null,"url":null,"abstract":"Android operating system has become one of the most popular smartphone platforms. A large number of applications are developed for Android Runtime (ART). Garbage Collection (GC) is an essential function of ART for Java-based applications. GC suspends all the application threads, called Stop The World (STW), and sacrifices application's performance. For reducing pauses to check heap, generational GC was proposed. It separates objects into two groups, the objects which probably die in the next GC and the others. Then, it tries to reduce search space and time to check. With this GC, accurate estimation of object lifetime is important. In this paper, we explore trend of object lifetimes of modern Android application in order to improve estimation of lifetime of ART GC. For this purpose, we have constructed our application behavior monitoring system, which is called ART monitor. This is implemented by modifying Android and enable observation of creations and destruction of objects in ART. We have investigated the relation among object lifetime, object sizes, and object names in recent Android applications which are popular in Google Play Store. We than found that small object probably dies with short lifetime and objects of some classes always survive long time. Based on these findings, we discuss a method for improving ART GC performance.","PeriodicalId":124905,"journal":{"name":"Proceedings of the 11th International Conference on Ubiquitous Information Management and Communication","volume":"16 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2017-01-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 11th International Conference on Ubiquitous Information Management and Communication","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3022227.3022311","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

Abstract

Android operating system has become one of the most popular smartphone platforms. A large number of applications are developed for Android Runtime (ART). Garbage Collection (GC) is an essential function of ART for Java-based applications. GC suspends all the application threads, called Stop The World (STW), and sacrifices application's performance. For reducing pauses to check heap, generational GC was proposed. It separates objects into two groups, the objects which probably die in the next GC and the others. Then, it tries to reduce search space and time to check. With this GC, accurate estimation of object lifetime is important. In this paper, we explore trend of object lifetimes of modern Android application in order to improve estimation of lifetime of ART GC. For this purpose, we have constructed our application behavior monitoring system, which is called ART monitor. This is implemented by modifying Android and enable observation of creations and destruction of objects in ART. We have investigated the relation among object lifetime, object sizes, and object names in recent Android applications which are popular in Google Play Store. We than found that small object probably dies with short lifetime and objects of some classes always survive long time. Based on these findings, we discuss a method for improving ART GC performance.
现代Android应用GC性能改进的对象生命周期趋势
Android操作系统已经成为最受欢迎的智能手机平台之一。针对Android Runtime (ART)开发了大量应用程序。垃圾收集(GC)是基于java的应用程序的ART的基本功能。GC挂起所有应用程序线程,称为Stop the World (STW),并牺牲应用程序的性能。为了减少检查堆的暂停,提出了分代GC。它将对象分成两组,一组是可能在下一次GC中死亡的对象,另一组是可能在下一次GC中死亡的对象。然后,它试图减少搜索空间和检查时间。使用这种GC,对对象生命周期的准确估计非常重要。本文探讨了现代Android应用中对象生命周期的变化趋势,以期改进ART GC的生命周期估计。为此,我们构建了我们的应用行为监控系统,称为ART监控。这是通过修改Android来实现的,并且可以在ART中观察对象的创建和破坏。我们研究了最近在Google Play Store中流行的Android应用程序中对象生命周期、对象大小和对象名称之间的关系。我们还发现,小对象的生命周期很可能很短,而某些类的对象的生命周期却很长。基于这些发现,我们讨论了一种提高ART GC性能的方法。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书