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

  • Authors:
  • Alain Azagury;Elliot K. Kolodner;Erez Petrank;Zvi Yehudai

  • Affiliations:
  • Department of System Technology, IBM Haifa Research Lab, MATAM, Haifa 31905, Israel;Department of System Technology, IBM Haifa Research Lab, MATAM, Haifa 31905, Israel;Department of System Technology, IBM Haifa Research Lab, MATAM, Haifa 31905, Israel;Department of System Technology, IBM Haifa Research Lab, MATAM, Haifa 31905, Israel

  • Venue:
  • Proceedings of the 1st international symposium on Memory management
  • Year:
  • 1998

Quantified Score

Hi-index 0.00

Visualization

Abstract

We consider the combination of card marking with remembered sets for generational 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. We 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-collection in the train.