Publication: Comparing Mostly-copying and Mark-sweep Conservative Collection
Open/View Files
Date
1998
Published Version
Journal Title
Journal ISSN
Volume Title
Publisher
Association for Computing Machinery
The Harvard community has made this article openly available. Please share how this access benefits you.
Citation
Smith, Frederick and Greg Morrisett. 1998. Comparing mostly-copying and mark-sweep conservative collection. In ISMM 98: Proceedings of the 1st International Symposium on Memory Management, Vancouver, British Columbia, Canada, October 17-19, 1998, ed. ISMM 98, 68-78. New York, N.Y.: ACM Press.
Research Data
Abstract
Many high-level language compilers generate C code and then invoke a C compiler for code generation. To date, most, of these compilers link the resulting code against a conservative mark-sweep garbage collector in order to reclaim unused memory. We introduce a new collector, MCC, based on an extension of mostly-copying collection.We analyze the various design decisions made in MCC and provide a performance comparison to the most widely used conservative mark-sweep collector (the Boehm-Demers-Weiser collector). Our results show that a good mostly-copying collector can outperform a mature highly-optimized mark-sweep collector when physical memory is large relative to the live data. A surprising result of our analysis is that cache behavior can have a greater impact on overall performance than either collector time or allocation time.
Description
Other Available Sources
Keywords
software, operating systems, programming languages, mathematics of computing, code generation, compilers, storage management, garbage collection, algorithm design and analysis, computing milieux, management of computing and information systems, installation management, benchmarks
Terms of Use
This article is made available under the terms and conditions applicable to Other Posted Material (LAA), as set forth at Terms of Service