Abstract
The lack of collecting cyclic garbage is generally considered the major weakness of reference counting. Reference counted systems handle this problem by incorporating either a global tracing collector or a partial tracing collector that considers only the cycle candidates. The latter has become a preferred one as it has better scalability and locality. Most of the partial tracing collectors are based on a classical tracing scheme, called trial deletion, which needs several traces over objects and thus may impose more overhead on tracing. Though lots of works have focused on reducing unnecessary candidates for tracing, few studies resort to the cycle collection procedure. This paper presents a novel cycle collection algorithm which can detect garbage cycles in a single trace over cycle candidates. The algorithm and the correctness proof are described in detail.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.