A unified theory of garbage collection (2004)
Cached
Download Links
- [www.cs.virginia.edu]
- [researchweb.watson.ibm.com]
- DBLP
Other Repositories/Bibliography
| Venue: | In ACM Conference on Object-Oriented Programming, Systems, Languages, and Applications |
| Citations: | 8 - 2 self |
BibTeX
@INPROCEEDINGS{Bacon04aunified,
author = {David F. Bacon and Perry Cheng and V. T. Rajan},
title = {A unified theory of garbage collection},
booktitle = {In ACM Conference on Object-Oriented Programming, Systems, Languages, and Applications},
year = {2004}
}
Years of Citing Articles
OpenURL
Abstract
Tracing and reference counting are uniformly viewed as being fundamentally different approaches to garbage collection that possess very distinct performance properties. We have implemented highperformance collectors of both types, and in the process observed that the more we optimized them, the more similarly they behaved — that they seem to share some deep structure. We present a formulation of the two algorithms that shows that they are in fact duals of each other. Intuitively, the difference is that tracing operates on live objects, or “matter”, while reference counting operates on dead objects, or “anti-matter”. For every operation performed by the tracing collector, there is a precisely corresponding anti-operation performed by the reference counting collector. Using this framework, we show that all high-performance collectors (for example, deferred reference counting and generational collection) are in fact hybrids of tracing and reference counting. We develop a uniform cost-model for the collectors to quantify the trade-offs that result from choosing different hybridizations of tracing and reference counting. This allows the correct scheme to be selected based on system performance requirements and the expected properties of the target application.







