Reducing the Traversals in Size-Order Segregated List Object Allocator for Garbage Collection Environment
碩士 === 國立交通大學 === 資訊工程系所 === 94 === Size-ordered segregated list allocator is a widely-used object allocator. Upon object allocation, traversals are required to locate the free list holding large enough free chunks. Because some free lists might become empty, increasing the traversals upon object al...
Main Authors: | , |
---|---|
Other Authors: | |
Format: | Others |
Language: | en_US |
Published: |
2005
|
Online Access: | http://ndltd.ncl.edu.tw/handle/8d8754 |
id |
ndltd-TW-094NCTU5392005 |
---|---|
record_format |
oai_dc |
spelling |
ndltd-TW-094NCTU53920052019-05-15T19:19:36Z http://ndltd.ncl.edu.tw/handle/8d8754 Reducing the Traversals in Size-Order Segregated List Object Allocator for Garbage Collection Environment 使用依區塊大小排列的分離式串列的物件配置器在垃圾蒐集環境下的尋訪之減少 Chin-Yu Huang 黃欽毓 碩士 國立交通大學 資訊工程系所 94 Size-ordered segregated list allocator is a widely-used object allocator. Upon object allocation, traversals are required to locate the free list holding large enough free chunks. Because some free lists might become empty, increasing the traversals upon object allocation, the performance of size-ordered segregated list allocator still has room for improvement. This is especially true in garbage collection environment. Therefore, we propose a table lookup mechanism to reduce the traversals. The main structure in this mechanism is a table which is a mapping from allocation request of each size to the closest non-empty free list holding large enough chunks. By looking up the table, only one traversal is required to locate the closest non-empty free list, hence speeding up object allocation. We take Java, a popular object-oriented programming language with automatic garbage collection, as example. The result shows that our proposed mechanism can improve the heap management performance by 100%. We also studied the impact of using different coalescing strategies on heap management performance in garbage collection environment, and showed that the trade-off to choosing a coalescing strategy will change, in the presence of our proposed mechanism. Immediate coalescing strategy, which is not used because it results in slower allocation speed, becomes a better one after our proposed mechanism is added. The result also indicates that fragmentation problem is a more serious issue in garbage collection environment than allocation performance if the allocation speed is fast enough. Chung-Ping Chung 鍾崇斌 2005 學位論文 ; thesis 45 en_US |
collection |
NDLTD |
language |
en_US |
format |
Others
|
sources |
NDLTD |
description |
碩士 === 國立交通大學 === 資訊工程系所 === 94 === Size-ordered segregated list allocator is a widely-used object allocator. Upon object allocation, traversals are required to locate the free list holding large enough free chunks. Because some free lists might become empty, increasing the traversals upon object allocation, the performance of size-ordered segregated list allocator still has room for improvement. This is especially true in garbage collection environment.
Therefore, we propose a table lookup mechanism to reduce the traversals. The main structure in this mechanism is a table which is a mapping from allocation request of each size to the closest non-empty free list holding large enough chunks. By looking up the table, only one traversal is required to locate the closest non-empty free list, hence speeding up object allocation. We take Java, a popular object-oriented programming language with automatic garbage collection, as example. The result shows that our proposed mechanism can improve the heap management performance by 100%. We also studied the impact of using different coalescing strategies on heap management performance in garbage collection environment, and showed that the trade-off to choosing a coalescing strategy will change, in the presence of our proposed mechanism. Immediate coalescing strategy, which is not used because it results in slower allocation speed, becomes a better one after our proposed mechanism is added. The result also indicates that fragmentation problem is a more serious issue in garbage collection environment than allocation performance if the allocation speed is fast enough.
|
author2 |
Chung-Ping Chung |
author_facet |
Chung-Ping Chung Chin-Yu Huang 黃欽毓 |
author |
Chin-Yu Huang 黃欽毓 |
spellingShingle |
Chin-Yu Huang 黃欽毓 Reducing the Traversals in Size-Order Segregated List Object Allocator for Garbage Collection Environment |
author_sort |
Chin-Yu Huang |
title |
Reducing the Traversals in Size-Order Segregated List Object Allocator for Garbage Collection Environment |
title_short |
Reducing the Traversals in Size-Order Segregated List Object Allocator for Garbage Collection Environment |
title_full |
Reducing the Traversals in Size-Order Segregated List Object Allocator for Garbage Collection Environment |
title_fullStr |
Reducing the Traversals in Size-Order Segregated List Object Allocator for Garbage Collection Environment |
title_full_unstemmed |
Reducing the Traversals in Size-Order Segregated List Object Allocator for Garbage Collection Environment |
title_sort |
reducing the traversals in size-order segregated list object allocator for garbage collection environment |
publishDate |
2005 |
url |
http://ndltd.ncl.edu.tw/handle/8d8754 |
work_keys_str_mv |
AT chinyuhuang reducingthetraversalsinsizeordersegregatedlistobjectallocatorforgarbagecollectionenvironment AT huángqīnyù reducingthetraversalsinsizeordersegregatedlistobjectallocatorforgarbagecollectionenvironment AT chinyuhuang shǐyòngyīqūkuàidàxiǎopáilièdefēnlíshìchuànlièdewùjiànpèizhìqìzàilājīsōujíhuánjìngxiàdexúnfǎngzhījiǎnshǎo AT huángqīnyù shǐyòngyīqūkuàidàxiǎopáilièdefēnlíshìchuànlièdewùjiànpèizhìqìzàilājīsōujíhuánjìngxiàdexúnfǎngzhījiǎnshǎo |
_version_ |
1719088737788362752 |