Abstract
This paper describes the design and evaluation of a Complementary Garbage Collector that is a fundamental algorithm for parallel and incremental garbage collection. Our algorithm is a combination of two types of fundamental algorithms, incremental update and snapshot-at-beginning, which are complementary to each other. The algorithm has the advantages of both types: greater efficiency of garbage collection and ease of consistent implementation. This algorithm can be substituted for the snapshot-at-beginning algorithm widely used in several types of parallel and incremental garbage collectors. Measurements of this algorithm in a parallel and an incremental mark-sweep GC indicate that it improves the efficiency of the collection making it equivalent to a stop-and-collect garbage collector. Consequently, the execution time of the list processing is shortened and the range of non-stop processing is extended.
Preview
Unable to display preview. Download preview PDF.
References
Dijkstra, E. W. et al.: On-the-fly garbage collection, An exercise in cooperation, in Lecture Note in Computer Science, Vol.46, pp. 43–56, Springer-Verlag, New York (1976).
Kung, H. T. and Song, S. W.: An Efficient Parallel Garbage Collection System and its Correctness Proof. Tech. Note, Dept. of Computer Science, Carnegie-Mellon University, Pittsburgh, Pennsylvania (1977).
Baker, H. G.: List-Processing in Real Time on a Serial Computer. Comm. ACM, Vol.21, No.4, pp. 280–294 (1978).
Hickey, T. and Cohen, J.: Performance Analysis of On-the-fly garbage collection, Comm. ACM, Vol.27, No.11, pp. 1143–1154 (1984).
Gabriel, R. P.: Performance and Evaluation of Lisp systems. The MIT Press, Cambridge, Massachusetts (1985)
Matsui, S. et al.: SYNAPSE: A Multi-microprocessor Lisp Machine with Parallel Garbage Collector, Lecture Notes in Computer Science, No. 269, pp. 131–137, Springer-Verlag (1987).
Yuasa, T.: Real-Time Garbage Collection on General-Purpose Machines, The Journal of Systems and Software, Vol.11, No.3, pp. 181–198 (1990).
Boehm, H. J., Demers A. J. and Shenker S.: Mostly Parallel Garbage Collection, Proceedings of the PLDI91 conference, ACM SIGPLAN Notices Vol.26, No.6, pp. 157–164 (1991).
Wilson, P. R.: Uniprocessor Garbage Collection Techniques, Lecture Notes in Computer Science, No. 637, pp. 1–42, Springer-Verlag (1992).
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1995 Springer-Verlag
About this paper
Cite this paper
Matsui, S., Tanaka, Y., Maeda, A., Nakanishi, M. (1995). Complementary garbage collector. In: Baler, H.G. (eds) Memory Management. IWMM 1995. Lecture Notes in Computer Science, vol 986. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-60368-9_23
Download citation
DOI: https://doi.org/10.1007/3-540-60368-9_23
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-60368-9
Online ISBN: 978-3-540-45511-0
eBook Packages: Springer Book Archive