Power Efficient Generational Garbage Collection on Android

碩士 === 國立清華大學 === 資訊工程學系 === 99 === Android is a java-based smart phone operating system. Java relies on a memory management mechanism named garbage collection to automatically deallocate program objects. Performance and power consumption of a Java application highly depend on the design of garbage...

Full description

Bibliographic Details
Main Authors: Hung, Hao-Cheng, 洪濠承
Other Authors: King, Chung-Ta
Format: Others
Language:en_US
Published: 2011
Online Access:http://ndltd.ncl.edu.tw/handle/51268352261646174845
id ndltd-TW-099NTHU5392110
record_format oai_dc
spelling ndltd-TW-099NTHU53921102015-10-13T20:23:01Z http://ndltd.ncl.edu.tw/handle/51268352261646174845 Power Efficient Generational Garbage Collection on Android 安卓系統之低耗能世代記憶體資源回收機制 Hung, Hao-Cheng 洪濠承 碩士 國立清華大學 資訊工程學系 99 Android is a java-based smart phone operating system. Java relies on a memory management mechanism named garbage collection to automatically deallocate program objects. Performance and power consumption of a Java application highly depend on the design of garbage collection. Currently, Android uses the mark-and-sweep garbage collection method. It is well known that mark-and-sweep garbage collection can pollute the cache and suspend the java application during the marking phase, because it has to traverse the whole heap to find unused objects. This not only reduces the responsiveness of the Android system, but also consumes energy, which is very undesirable for handheld devices that Android is targeting at. A general strategy to solving the problem due to mark-and sweep is to use generational garbage collection, which only traverses part of the heap to find garbage. However, the copy-on-write feature in Android poses special problem for recording objects age in generational garbage collection in Android. To overcome the problem, in this thesis, we design a new generational garbage collection in Android, called table-based generational garbage collection (TGGC). The basic idea is to set aside the management structure of objects so that the management operations, such as age recording, do not disturb the memory space of the objects, causing copy-on-write. Our evaluation shows that TGGC can lower program pause time and reduce power consumption during garbage collection, when compared to the mark-and-sweep garbage collection. King, Chung-Ta 金仲達 2011 學位論文 ; thesis 42 en_US
collection NDLTD
language en_US
format Others
sources NDLTD
description 碩士 === 國立清華大學 === 資訊工程學系 === 99 === Android is a java-based smart phone operating system. Java relies on a memory management mechanism named garbage collection to automatically deallocate program objects. Performance and power consumption of a Java application highly depend on the design of garbage collection. Currently, Android uses the mark-and-sweep garbage collection method. It is well known that mark-and-sweep garbage collection can pollute the cache and suspend the java application during the marking phase, because it has to traverse the whole heap to find unused objects. This not only reduces the responsiveness of the Android system, but also consumes energy, which is very undesirable for handheld devices that Android is targeting at. A general strategy to solving the problem due to mark-and sweep is to use generational garbage collection, which only traverses part of the heap to find garbage. However, the copy-on-write feature in Android poses special problem for recording objects age in generational garbage collection in Android. To overcome the problem, in this thesis, we design a new generational garbage collection in Android, called table-based generational garbage collection (TGGC). The basic idea is to set aside the management structure of objects so that the management operations, such as age recording, do not disturb the memory space of the objects, causing copy-on-write. Our evaluation shows that TGGC can lower program pause time and reduce power consumption during garbage collection, when compared to the mark-and-sweep garbage collection.
author2 King, Chung-Ta
author_facet King, Chung-Ta
Hung, Hao-Cheng
洪濠承
author Hung, Hao-Cheng
洪濠承
spellingShingle Hung, Hao-Cheng
洪濠承
Power Efficient Generational Garbage Collection on Android
author_sort Hung, Hao-Cheng
title Power Efficient Generational Garbage Collection on Android
title_short Power Efficient Generational Garbage Collection on Android
title_full Power Efficient Generational Garbage Collection on Android
title_fullStr Power Efficient Generational Garbage Collection on Android
title_full_unstemmed Power Efficient Generational Garbage Collection on Android
title_sort power efficient generational garbage collection on android
publishDate 2011
url http://ndltd.ncl.edu.tw/handle/51268352261646174845
work_keys_str_mv AT hunghaocheng powerefficientgenerationalgarbagecollectiononandroid
AT hóngháochéng powerefficientgenerationalgarbagecollectiononandroid
AT hunghaocheng ānzhuōxìtǒngzhīdīhàonéngshìdàijìyìtǐzīyuánhuíshōujīzhì
AT hóngháochéng ānzhuōxìtǒngzhīdīhàonéngshìdàijìyìtǐzīyuánhuíshōujīzhì
_version_ 1718047084223922176