کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
427383 686499 2010 10 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
An efficient approach to cyclic reference counting based on a coarse-grained search
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
پیش نمایش صفحه اول مقاله
An efficient approach to cyclic reference counting based on a coarse-grained search
چکیده انگلیسی

Reference counting is known to have problems working with cyclic structures. In this paper, we present an efficient approach to cyclic reference counting, consisting of two key components. The first is a coarse-grained cycle collection algorithm that essentially performs a coarser (lightweight) analysis of the computation graph and thus greatly reduces the tracing cost (in comparison with the algorithms based on trial deletion to detect cycles). Our new cycle collector relies on this algorithm to obtain efficiency. Second, a predefined backup algorithm is incorporated to eliminate a theoretical problem that appears in the coarse-grained algorithm, thereby making the collector more practical. In this regard, we develop a heuristic based on the runtime behavior of the cycle collection to help the collector determine when to trigger the backup one. We have implemented and evaluated the proposed cycle collector on the Jikes RVM, where the SPECjvm98 benchmarks were applied. The results demonstrate that the novel approach is efficient and practical, compared to a modern cycle collector based on trial deletion.

Research highlights
► A coarse-grained cycle collection algorithm (CGA) is exploited to obtain efficiency.
► A hybrid approach using both CGA and a traditional algorithm is demonstrated.
► The efficiency of the hybrid method depends on a heuristic criterion.
► The experiments show an opportunity to achieve both practicability and efficiency.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Information Processing Letters - Volume 111, Issue 1, 15 December 2010, Pages 1–10
نویسندگان
, ,