Skip to main content
USENIX
  • Conferences
  • Students
Sign in

connect with us


  •  Twitter
  •  Facebook
  •  LinkedIn
  •  Google+
  •  YouTube

twitter

Tweets by @usenix

usenix conference policies

  • Event Code of Conduct
  • Conference Network Policy
  • Statement on Environmental Responsibility Policy

You are here

Home ยป Safe, Efficient Garbage Collection for C++
Tweet

connect with us

Safe, Efficient Garbage Collection for C++

Authors: 

John R. Ellis, Xerox PARC; David L. Detlefs, DEC SR

Abstract: 

We propose adding safe, efficient garbage collection to C++, eliminating the possibility of storage-management bugs and making the design of complex, object-oriented systems much easier. This can be accomplished with almost no change to the language itself and only small changes to existing implementations, while retaining compatibility with existing class libraries. Our proposal is the first to take a holistic, system-level approach, integrating four technologies. The language interface specifies how programmers access garbage collection through the language. An optional safe subset of the language automatically enforces the safe-use rules of garbage collection and precludes storage bugs. A variety of collection algorithms are compatible with the language interface, but some are easier to implement and more compatible with existing C++ and C implementations. Finally, code-generator safety ensures that compilers generate correct code for use with collectors.

John R. Ellis, Xerox PARC

David L. Detlefs, DEC SR

BibTeX
@inproceedings {252338,
author = {John R. Ellis and David L. Detlefs},
title = {Safe, Efficient Garbage Collection for C++},
booktitle = {USENIX 6th C++ Technical Conference (USENIX 6th C++ Technical Conference)},
year = {1994},
address = {Cambridge, MA},
url = {https://www.usenix.org/conference/usenix-6th-c-technical-conference/safe-efficient-garbage-collection-c},
publisher = {USENIX Association},
month = apr,
}
Download

Links

Paper: 
http://usenix.org/publications/library/proceedings/c++94/full_papers/ellis.ps
  • Log in or    Register to post comments

© USENIX

  • Privacy Policy
  • Contact Us