首页> 外文会议>IEEE Global Conference on Consumer Electronics >Memory consumption saving by optimization of promotion condition of generational GC in android
【24h】

Memory consumption saving by optimization of promotion condition of generational GC in android

机译:通过优化世代GC的提升条件来节省内存消耗

获取原文

摘要

Android OS has a process terminating function, which is called Low Memory Killer. The function automatically terminates application processes when the size of available memory becomes small. This function enables a user to invoke applications without manual termination of processes. However, re-use of an application that is terminated requires process re-creation. This takes longer time than that of non-terminated application. Thus, decreasing the number of process terminations is desired. For relieving memory shortage, reducing the size of memory consumed by applications is effective. In Android OS, application memory size is controlled by Garbage Collection (GC). Therefore, the number of process termination can be controlled by tuning of GC. In this paper, we focus on Android's Generational GC, which is called Generational Semi-Space (GSS), and propose a new method for improving its promotion condition. In the Android GSS, every object is promoted after passing two times of GC independent to its features, e.g. its size. Our method controls promotion based on monitored statistical information that indicates smaller objects tend to die in shorter time. Our evaluation demonstrates that the proposed method can decrease application memory sizes and avoid the decline in performance.
机译:Android OS具有进程终止功能,称为“低内存杀手”。当可用内存的大小变小时,该功能会自动终止应用程序进程。该功能使用户可以调用应用程序而无需手动终止进程。但是,重新使用已终止的应用程序需要重新创建进程。这比未终止的应用程序需要更长的时间。因此,期望减少过程终止的数量。为了缓解内存不足,减小应用程序占用的内存大小是有效的。在Android OS中,应用程序内存大小由垃圾回收(GC)控制。因此,可以通过调整GC来控制进程终止的次数。在本文中,我们将重点放在Android的Generational GC(即Generational Semi-Space(GSS))上,并提出一种改善其推广条件的新方法。在Android GSS中,每个对象在两次通过独立于其功能的GC之后,都会得到提升,例如它的大小。我们的方法基于监视的统计信息来控制促销,该统计信息表明较小的对象倾向于在较短的时间内死亡。我们的评估表明,所提出的方法可以减小应用程序的内存大小并避免性能下降。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号