GARBAGE COLLECTION USING A DYNAMIC THREATENING BOUNDARY

Citation
Da. Barrett et Bg. Zorn, GARBAGE COLLECTION USING A DYNAMIC THREATENING BOUNDARY, ACM SIGPLAN NOTICES, 30(6), 1995, pp. 301-314
Citations number
21
Categorie Soggetti
Computer Sciences","Computer Science Software Graphycs Programming
Journal title
Volume
30
Issue
6
Year of publication
1995
Pages
301 - 314
Database
ISI
SICI code
Abstract
Generational techniques have been very successful in reducing the impa ct of garbage collection algorithms upon the performance of programs. However, all generational algorithms occasionally promote objects that later become garbage, resulting in an accumulation of garbage in olde r generations. Reclaiming this tenured garbage without resorting to co llecting the entire heap is a difficult problem. In this paper, we des cribe a mechanism that extends existing generational collection algori thms by allowing them to reclaim tenured garbage more effectively. In particular, our dynamic threatening boundary mechanism divides memory into two spaces, one for short-lived, and another for long-lived objec ts. Unlike previous work, our collection mechanism can dynamically adj ust the boundary between these two spaces either forward or backward i n time, essentially allowing data to become untenured. We describe an implementation of the dynamic threatening boundary mechanism and quant ify its associated costs. We also describe a policy for setting the th reatening boundary and evaluate its performance relative to existing g enerational collection algorithms. Our results show that a policy that uses the dynamic threatening boundary mechanism is effective at recla iming tenured garbage.