skip to main content
article
Free Access

Ephemerons: a new finalization mechanism

Published:09 October 1997Publication History
Skip Abstract Section

Abstract

Finalization occurs when a garbage collector informs an application that an object is "almost collectable." It is used to help an application maintain its invariants. To make finalization more useful, this paper defines "almost collectable" in terms of a new class of objects, called ephemerons. Ephemerons are similar to weak pairs, but an object in an ephemeron's key field may be classed as "almost collectable" even if it is reachable from the epehemeron's value fields.

References

  1. AAB+91 H. Abclson, N. I. Adams IV, D. H. Bartlcy, G. Brooks, R. IC Dybvig, D. P. Friedman, R. Halstead, C. Hanson, C. T. Haynes, E. Kohlbccker, D. Oxley, K. M. Pitman, G. J. Rozas, G. L. Steele JR., G. J. Sussman, and M. Wand. Revised(4) Report on the Algorithmic Language Scheme. ACM Lisp Pointers, IV(3), November 1991. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. ADH+89 R. Atkinson, Alan Demers, Carl Hauscr, Christian Jacobi, Peter Kessler, and Mark Wciser. Experiences creating a portable Cedar. SIGPLAN Notices, 24(7):261-269, July 1989. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. BW88 Hans-Juergcn Bochm and Mark Wciser. Garbage collection in an uncooperative environment. Software Practice and Experience, 18(9):807-820, 1988. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. COL60 George E. Collins. A method for overlapping and erasure of lists. Communications of the A CM, 3(12):655-657, December 1960. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. DB76 L. Peter Deutsch and Daniel G. Bobrow. An cfficient incremental automatic garbage collector. Communications of the ACM, I9(9):522-526, Scptcmbcr 1976. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. DBE93 R. Kent Dybvig, Carl Bruggeman, and David Eby. Guardians in a generation-based garbage collector. In Proceedings of SIGPLAN'93 Conference on Programming Languages Design and implementation, volume 28(6):207- 216 ofACM SIGPLAN Notices, Albuquerque, New Mexico, June 1993. ACM Press. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. FY69 Robert R. Fenichel and Jerome C. Yochelson. A Lisp garbage collector for virtual memory computer systems. Communications of the ACM, 12(11):611-612, November 1969. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. GSJ96 James Gosling, Bill Joy, and Guy Steele. The Java Language Spec~ication, Addison -Wesley, August, 1996. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Hay92 Barry Hayes "Finalization in the Collector Interface" in Menwry Management, Proceedings of The International Workshop on Memory Management, 1992, St. Malo, France, September, 1992, Y. Bekkers and J. Cohen, editors, LNCS 637:277-298, Springer-~erlag. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. LH83 Henry Lieberman and Carl E. Hewitt. A real-time garbage collector based on the lifetimes of objects. Communications of the ACM, 26(6):419-29, 1983. Also report TM-184, Laboratory for Computer Science, MIT, Cambridge, MA, July 1980 and AI Lab Memo 569, 1981. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Par90 ParePlace Systems. ObjectWorks/Smalltalk User's Guide, Release 4. ParcPlace Systems, Inc, Mountain View, CA, 1990.Google ScholarGoogle Scholar
  12. RAM84 Jonathan A. Rees, Norman I. Adams, and James R. Mccchan. The T Manual. Technical report,. Yale University, January 1984.Google ScholarGoogle Scholar
  13. Rov85 Paul Rovncn On adding garbage coUection and runtimc types to a strongly-typed, statically-checked, concurrent language. Technical Report CSL-84-7, Xerox PARC, Palo Alto, CA, July 1985.Google ScholarGoogle Scholar
  14. Wil92 Paul R. Wilson. "Uniproccssor Garbage Collection Techniques" in Memory Management, Proceedings of The International Workshop on Memory Management, 1992, St. Malo, France, September, 1992, Y. Bckkcrs and $. Cohen, editors, LNCS 637:1-42, Springer-Verlag. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. Xer85 Xerox Corporation. Interlisp Reference Manual, Volume 1. Xerox Corporation, Palo Alto, CA, October 1985.Google ScholarGoogle Scholar

Index Terms

  1. Ephemerons: a new finalization mechanism

    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

    Full Access

    • Published in

      cover image ACM SIGPLAN Notices
      ACM SIGPLAN Notices  Volume 32, Issue 10
      Oct. 1997
      344 pages
      ISSN:0362-1340
      EISSN:1558-1160
      DOI:10.1145/263700
      Issue’s Table of Contents
      • cover image ACM Conferences
        OOPSLA '97: Proceedings of the 12th ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications
        October 1997
        345 pages
        ISBN:0897919084
        DOI:10.1145/263698

      Copyright © 1997 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 ACM 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: 9 October 1997

      Check for updates

      Qualifiers

      • article

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader