Paper record

W2163365446

Memory management with explicit regions

David E. Gay, Alex Aiken

Year
1998
Venue
ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI)
References
38
Cited by
243

Details and counts from OpenAlex.

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.