Selective sweeping

  • Authors:
  • Yoo C. Chung;Soo-Mook Moon;Kemal Ebcioğlu;Dan Sahlin

  • Affiliations:
  • School of Electrical Engineering, Seoul National University, Kwanak, P.O. Box 34, Seoul 151-742, South Korea;School of Electrical Engineering, Seoul National University, Kwanak, P.O. Box 34, Seoul 151-742, South Korea;-;Computer Science Laboratory, Ericsson Utvecklings AB, Box 1505, SE-125 25 Aalvsjoe, Sweden

  • Venue:
  • Software—Practice & Experience
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

Traditional mark and sweep garbage collectors use time proportional to the heap size when sweeping memory, since all objects in the heap, dead or alive, must be traversed. Here we introduce a sweeping algorithm which traverses only the live objects. Since this sweeping algorithm is slower when the heap occupancy is high, we also discuss how to avoid this slowdown by using an adaptive algorithm.