A Customisable Memory Management Framework

TitleA Customisable Memory Management Framework
Publication TypeTechnical Report
Year of Publication1994
AuthorsAttardi, G., & Flagella T.
Other Numbers880
KeywordsC++, garbage collection, memory management, programming languages
Abstract

Memory management is a critical issue for many large object-oriented applications, but in C++ only explicit memory reclamation through the 'delete' operator is generally available. We analyse different possibilities for memory management in C++ and present a dynamic memory management framework which can be customised to the need of specific applications. The framework allows full integration and coexistence of different memory management techniques. The Customisable Memory Management (CMM) is based on a "primary collector" which exploits an evolution of Bartlett's mostly copying garbage collector. Specialised collectors can be built for separate memory heaps. A 'Heap' class encapsulates the allocation strategy for each heap. We show how to emulate different garbage collection styles or user-specific memory management techniques. The CMM is implemented in C++ without any special support in the language or the compiler. The techniques used in the CMM are general enough to be applicable also to other languages.

URLhttp://www.icsi.berkeley.edu/ftp/global/pub/techreports/1994/tr-94-010.pdf
Bibliographic Notes

ICSI Technical Report TR-94-010

Abbreviated Authors

G. Attardi and T. Flagella

ICSI Publication Type

Technical Report