Design and Implementation of Efficient Cycle Detectors for Reference Counting Systems
碩士 === 國立成功大學 === 工程科學系碩博士班 === 94 === In garbage collection systems, reference counting technique can not reclaim cyclic garbage. It is often complemented by a cycle detector. In this thesis, we first try to improve the LW-CRC (Lightweight Cyclic Reference Counting) algorithm proposed by Lin-Hou. T...
Main Authors: | , |
---|---|
Other Authors: | |
Format: | Others |
Language: | zh-TW |
Online Access: | http://ndltd.ncl.edu.tw/handle/55141529383539377679 |
id |
ndltd-TW-094NCKU5028029 |
---|---|
record_format |
oai_dc |
spelling |
ndltd-TW-094NCKU50280292016-05-30T04:21:59Z http://ndltd.ncl.edu.tw/handle/55141529383539377679 Design and Implementation of Efficient Cycle Detectors for Reference Counting Systems 高效率環狀偵測器之設計與實作:應用於參考計數系統 Yeh-Young Hou 侯曄暘 碩士 國立成功大學 工程科學系碩博士班 94 In garbage collection systems, reference counting technique can not reclaim cyclic garbage. It is often complemented by a cycle detector. In this thesis, we first try to improve the LW-CRC (Lightweight Cyclic Reference Counting) algorithm proposed by Lin-Hou. The original LW-CRC algorithm is a practical approach. However, there exist few cases that can not be properly handled in theory. The algorithms proposed herein relieve such a problem without affecting the practicality, where more cyclic garbage can be collected. In addition, we develop a new cycle collection algorithm based on finding strongly connected components (SCC), denoted SCC-CRC. It is a complete algorithm and it has good performance. The main idea of the proposed algorithms is to reduce the number of traces over objects. Compare with the tri-color algorithm, a well-known cycle collection algorithm, our algorithms reduce the time complexity from O(2n) ~ O(3n) to O(n) ~ O(2n). We implemented the algorithms on Jikes RVM (Research Java Virtual Machine), and used SPECjvm 98 as the benchmark programs. The experimental results demonstrate that the proposed algorithms are more practical and efficient, compared to the tri-color algorithm. Ting-Wei Hou 侯廷偉 學位論文 ; thesis 63 zh-TW |
collection |
NDLTD |
language |
zh-TW |
format |
Others
|
sources |
NDLTD |
description |
碩士 === 國立成功大學 === 工程科學系碩博士班 === 94 === In garbage collection systems, reference counting technique can not reclaim cyclic garbage. It is often complemented by a cycle detector. In this thesis, we first try to improve the LW-CRC (Lightweight Cyclic Reference Counting) algorithm proposed by Lin-Hou. The original LW-CRC algorithm is a practical approach. However, there exist few cases that can not be properly handled in theory. The algorithms proposed herein relieve such a problem without affecting the practicality, where more cyclic garbage can be collected. In addition, we develop a new cycle collection algorithm based on finding strongly connected components (SCC), denoted SCC-CRC. It is a complete algorithm and it has good performance.
The main idea of the proposed algorithms is to reduce the number of traces over objects. Compare with the tri-color algorithm, a well-known cycle collection algorithm, our algorithms reduce the time complexity from O(2n) ~ O(3n) to O(n) ~ O(2n).
We implemented the algorithms on Jikes RVM (Research Java Virtual Machine), and used SPECjvm 98 as the benchmark programs. The experimental results demonstrate that the proposed algorithms are more practical and efficient, compared to the tri-color algorithm.
|
author2 |
Ting-Wei Hou |
author_facet |
Ting-Wei Hou Yeh-Young Hou 侯曄暘 |
author |
Yeh-Young Hou 侯曄暘 |
spellingShingle |
Yeh-Young Hou 侯曄暘 Design and Implementation of Efficient Cycle Detectors for Reference Counting Systems |
author_sort |
Yeh-Young Hou |
title |
Design and Implementation of Efficient Cycle Detectors for Reference Counting Systems |
title_short |
Design and Implementation of Efficient Cycle Detectors for Reference Counting Systems |
title_full |
Design and Implementation of Efficient Cycle Detectors for Reference Counting Systems |
title_fullStr |
Design and Implementation of Efficient Cycle Detectors for Reference Counting Systems |
title_full_unstemmed |
Design and Implementation of Efficient Cycle Detectors for Reference Counting Systems |
title_sort |
design and implementation of efficient cycle detectors for reference counting systems |
url |
http://ndltd.ncl.edu.tw/handle/55141529383539377679 |
work_keys_str_mv |
AT yehyounghou designandimplementationofefficientcycledetectorsforreferencecountingsystems AT hóuyèyáng designandimplementationofefficientcycledetectorsforreferencecountingsystems AT yehyounghou gāoxiàolǜhuánzhuàngzhēncèqìzhīshèjìyǔshízuòyīngyòngyúcānkǎojìshùxìtǒng AT hóuyèyáng gāoxiàolǜhuánzhuàngzhēncèqìzhīshèjìyǔshízuòyīngyòngyúcānkǎojìshùxìtǒng |
_version_ |
1718285537054294016 |