Beltway
Authors:
Open Access
- 17 May 2002
- journal article
- Published by Association for Computing Machinery (ACM) in ACM SIGPLAN Notices
- Vol. 37 (5) , 153-164
Abstract
We present the design and implementation of a new garbage collection framework that significantly generalizes existing copying collectors. The Beltway framework exploits and separates object age and incrementality. It groups objects in one or more increments on queues called belts , collects belts independently, and collects increments on a belt in first-in-first-out order. We show that Beltway configurations, selected by command line options, act and perform the same as semi-space, generational, and older-first collectors, and encompass all previous copying collectors of which we are aware. The increasing reliance on garbage collected languages such as Java requires that the collector perform well. We show that the generality of Beltway enables us to design and implement new collectors that are robust to variations in heap size and improve total execution time over the best generational copying collectors of which we are aware by up to 40%, and on average by 5 to 10%, for small to moderate heap sizes. New garbage collection algorithms are rare, and yet we define not just one, but a new family of collectors that subsumes previous work. This generality enables us to explore a larger design space and build better collectors.Keywords
This publication has 27 references indexed in Scilit:
- Thread-specific heaps for multi-threaded programsACM SIGPLAN Notices, 2000
- A study of large object spacesACM SIGPLAN Notices, 1998
- An adaptive tenuring policy for generation scavengersACM Transactions on Programming Languages and Systems, 1992
- Mostly parallel garbage collectionACM SIGPLAN Notices, 1991
- A “card-marking” scheme for controlling intergenerational references in generation-based garbage collection on stock hardwareACM SIGPLAN Notices, 1989
- A simple bucket-brigade advancement mechanism for generation-bases garbage collectionACM SIGPLAN Notices, 1989
- Improving locality of reference in a garbage-collecting memory management systemCommunications of the ACM, 1988
- Real-time concurrent collection on stock multiprocessorsACM SIGPLAN Notices, 1988
- Generation ScavengingACM SIGPLAN Notices, 1984
- A nonrecursive list compacting algorithmCommunications of the ACM, 1970