A lightweight cyclic reference counting algorithm

7Citations
Citations of this article
5Readers
Mendeley users who have this article in their library.
Get full text

Abstract

This paper focuses on a major weakness of reference counting technique - the lack of collecting cyclic garbage. Most reference counted systems handle this problem by either invoking a global mark-sweep collector occasionally, or incorporating a local ("partial") tracing collector that considers only the cycle candidates (objects) but needs several traces on them. This paper proposes a "lightweight" cycle detector, which is based on the partial tracing approach but collects garbage cycles in a simpler and more efficient way. Key to the algorithm is the removal of multiple traces on the cycle candidates - It effectively reclaims garbage cycles in only one trace. We have evaluated the algorithm in the Jikes Research Virtual Machine, where a set of benchmark programs from SPECjvm98 were applied. The experiments demonstrate the efficiency and practicability of the lightweight cycle detector, compared to a modern cycle detector that requires multiple traces on objects. © Springer-Verlag Berlin Heidelberg 2006.

Cite

CITATION STYLE

APA

Lin, C. Y., & Hou, T. W. (2006). A lightweight cyclic reference counting algorithm. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 3947 LNCS, pp. 346–359). Springer Verlag. https://doi.org/10.1007/11745693_35

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free