Combining card marking with remembered sets: How to save scanning time

Citation
A. Azagury et al., Combining card marking with remembered sets: How to save scanning time, ACM SIGPL N, 34(3), 1999, pp. 10-19
Citations number
10
Categorie Soggetti
Computer Science & Engineering
Journal title
ACM SIGPLAN NOTICES
ISSN journal
15232867 → ACNP
Volume
34
Issue
3
Year of publication
1999
Pages
10 - 19
Database
ISI
SICI code
1523-2867(199903)34:3<10:CCMWRS>2.0.ZU;2-4
Abstract
We consider the combination of card marking with remembered sets for genera tional garbage collection as suggested by Hosking and Hudson [3]. When more than two generations are used, a naive implementation may cause excessive and wasteful scanning of the cards and thus increase the collection time. W e offer a simple data structure and a corresponding algorithm to keep track of which cards need be scanned for which generation. We then extend these ideas for the Train Algorithm of [4]. Here, the solution is more involved, and allows tracking of which card should be scanned for which car collectio n in the train.