Memory management with explicit regions
Authors:
Open Access
- 1 May 1998
- journal article
- Published by Association for Computing Machinery (ACM) in ACM SIGPLAN Notices
- Vol. 33 (5) , 313-323
Abstract
Much research has been devoted to studies of and algorithms for memory management based on garbage collection or explicit allocation and deallocation. An alternative approach, region-based memory management, has been known for decades, but has not been well-studied. In a region-based system each allocation specifies a region, and memory is reclaimed by destroying a region, freeing all the storage allocated therein. We show that on a suite of allocation-intensive C programs, regions are competitive with malloc/free and sometimes substantially faster. We also show that regions support safe memory management with low overhead. Experience with our benchmarks suggests that modifying many existing programs to use regions is not difficult.Keywords
This publication has 16 references indexed in Scilit:
- Region-Based Memory ManagementInformation and Computation, 1997
- Memory allocation costs in large C and C++ programsSoftware: Practice and Experience, 1994
- Customalloc: Efficient synthesized memory allocatorsSoftware: Practice and Experience, 1993
- Improving the cache locality of memory allocation1993
- Fast allocation and deallocation of memory based on object lifetimesSoftware: Practice and Experience, 1990
- Garbage collection in an uncooperative environmentSoftware: Practice and Experience, 1988
- Managing Reentrant Structures Using Reference CountsACM Transactions on Programming Languages and Systems, 1980
- List processing in real time on a serial computerCommunications of the ACM, 1978
- An efficient, incremental, automatic garbage collectorCommunications of the ACM, 1976
- The AED free storage packageCommunications of the ACM, 1967