usenix conference policies
Safe, Efficient Garbage Collection for C++
John R. Ellis, Xerox PARC; David L. Detlefs, DEC SR
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.
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
}
connect with us