skip to main content
article
Free access

Opportunistic garbage collection

Published: 01 December 1988 Publication History

Abstract

Opportunistic garbage collection is a non-incremental generation-based garbage collection system. It attempts to minimize the probability of disruptive pauses by careful scheduling of scavenges. Scavenge pauses are hidden in pauses created by the running program or by the user; they are also shortened by scheduling them at low points in the stack height, where live data tend to be at a minimum. These heuristics can be surprisingly simple and cheap to implement --- user input primitives provide an effective hook from which to invoke the scheduling routine, since they tend to correspond both to local stack minima and to computational pause boundaries.An additional mechanism is proposed to detect times when it is safe to scavenge an intermediate generation, based on the amount of data surviving from a new-generation scavenge. This mechanism can be used reliably in certain cases, or heuristically in a larger class of cases.

References

[1]
LiHe83 Lieberman, Henry, and Carl Hewitt, A real-time garbage collector based on the lifetimes of objects. CACM 36, 6 (June 1983), 419-429.
[2]
Shaw88 Shaw, Robert A., Empirical analysis of a Lisp system. Ph.D. thesis, Stanford University technical report CSL-TR-88-351.
[3]
Unga84 Ungar, David, Generation Scavenging: A non-disruptive high performance storage reclamation algorithm. SIGPLAN Notices 19, 5 (May 1984), 157- 167.
[4]
Unga88 Ungar, David, and Frank Jackson, Tenuring policies for generation based storage reclamation. Forthcoming.

Cited By

View all

Index Terms

  1. Opportunistic garbage collection

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM SIGPLAN Notices
    ACM SIGPLAN Notices  Volume 23, Issue 12
    Dec. 1988
    134 pages
    ISSN:0362-1340
    EISSN:1558-1160
    DOI:10.1145/57669
    Issue’s Table of Contents

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 01 December 1988
    Published in SIGPLAN Volume 23, Issue 12

    Check for updates

    Qualifiers

    • Article

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)54
    • Downloads (Last 6 weeks)13
    Reflects downloads up to 15 Sep 2024

    Other Metrics

    Citations

    Cited By

    View all

    View Options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Get Access

    Login options

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media