skip to main content
10.1145/2635648.2635655acmotherconferencesArticle/Chapter ViewAbstractPublication PagessplashConference Proceedingsconference-collections
research-article

An Improvement to Sliding Garbage Collection

Published:14 August 2014Publication History

ABSTRACT

Garbage collection algorithms are divided into three main categories, namely mark-and-sweep, mark-and-compact, and copying collectors. The collectors in the mark-and-compact category are frequently overlooked, perhaps because they have traditionally been associated with greater cost than collectors in the other categories. Among the compacting collectors, the sliding collector has some advantages in that it preserves the relative age of objects. The main problem with the traditional sliding collector by Haddon and Waite [4] is that building address-forwarding tables is costly. We suggest an improvement to the existing algorithm that reverses the order between building the forwarding table and moving the objects. Our method improves performance of building the table, making the sliding collector a better contestant for young generations of objects (nurseries).

References

  1. D. Abuaiadh, Y. Ossia, E. Petrank, and U. Silbershtein. An efficient parallel heap compaction algorithm. In Proceedings of the 19th Annual ACM SIGPLAN Conference on Object-oriented Programming, Systems, Languages, and Applications, OOPSLA '04, pages 224--236, New York, NY, USA, 2004. ACM. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. J. Cohen and A. Nicolau. Comparison of compacting algorithms for garbage collection. ACM Trans. Program. Lang. Syst., 5(4):532--553, Oct. 1983. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. D. A. Fisher. Bounded workspace garbage collection in an address order preserving list processing environment. Inf. Process. Lett., 3(1):29--32, July 1974.Google ScholarGoogle ScholarCross RefCross Ref
  4. B. K. Haddon and W. M. Waite. A compaction procedure for variable length storage elements. Computer Journal, (10):162--165, Aug. 1967.Google ScholarGoogle Scholar
  5. R. Jones, A. Hosking, and E. Moss. The Garbage Collection Handbook: The Art of Automatic Memory Management. Chapman & Hall/CRC, 1st edition, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. R. Jones and R. Lins. Garbage Collection: Algorithms for Automatic Dynamic Memory Management. John Wiley & Sons, Inc., New York, NY, USA, 1996. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. H. B. M. Jonkers. A fast garbage compaction algorithm. Inf. Process. Lett., 9(1):26--30, July 1979.Google ScholarGoogle ScholarCross RefCross Ref
  8. H. Kermany and E. Petrank. The compressor: Concurrent, incremental, and parallel compaction. In Proceedings of the 2006 ACM SIGPLAN Conference on Programming Language Design and Implementation, PLDI '06, pages 354--363, New York, NY, USA, 2006. ACM. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. S. Marlow and S. Peyton Jones. Multicore garbage collection with local heaps. SIGPLAN Not., 46(11):21--32, June 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. F. L. Morris. A time- and space-efficient garbage compaction algorithm. Commun. ACM, 21(8):662--5, 1978. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. P. R. Wilson. Uniprocessor garbage collection techniques. In Proceedings of the International Workshop on Memory Management, IWMM '92, pages 1--42, London, UK, UK, 1992. Springer-Verlag. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. An Improvement to Sliding Garbage Collection

Recommendations

Comments

Login options

Check if you have access through your login credentials or your institution to get full access on this article.

Sign in
  • Published in

    cover image ACM Other conferences
    ILC '14: Proceedings of ILC 2014 on 8th International Lisp Conference
    August 2014
    108 pages
    ISBN:9781450329316
    DOI:10.1145/2635648
    • General Chair:
    • Marc Feeley,
    • Program Chair:
    • Didier Verna

    Copyright © 2014 ACM

    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    • Published: 14 August 2014

    Permissions

    Request permissions about this article.

    Request Permissions

    Check for updates

    Qualifiers

    • research-article
    • Research
    • Refereed limited

    Acceptance Rates

    ILC '14 Paper Acceptance Rate18of26submissions,69%Overall Acceptance Rate18of26submissions,69%
  • Article Metrics

    • Downloads (Last 12 months)9
    • Downloads (Last 6 weeks)3

    Other Metrics

PDF Format

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader