Space overhead bounds for dynamic memory management with partial compaction

Anna Bendersky, Erez Petrank

Research output: Contribution to journalArticlepeer-review

Abstract

Dynamic memory allocation is ubiquitous in today's runtime environments. Allocation and de-allocation of objects during program execution may cause fragmentation and foil the program's ability to allocate objects. Robson has shown that a worst case scenario can create a space overhead within a factor of logn of the space that is actually required by the program, where n is the size of the largest possible object. Compaction can eliminate fragmentation, but is too costly to be run frequently. Many runtime systems employ partial compaction, in which only a small fraction of the allocated objects are moved. Partial compaction reduces some of the existing fragmentation at an acceptable cost. In this paper we study the effectiveness of partial compaction and provide the first rigorous lower and upper bounds on its effectiveness in reducing fragmentation at a low cost.

Original languageEnglish
Pages (from-to)475-486
Number of pages12
JournalACM SIGPLAN Notices
Volume46
Issue number1
DOIs
StatePublished - Jan 2011

Keywords

  • Compaction
  • Dynamic storage allocation
  • Memory management
  • Partial compaction
  • Runtime systems
  • Storage allocation

All Science Journal Classification (ASJC) codes

  • General Computer Science

Fingerprint

Dive into the research topics of 'Space overhead bounds for dynamic memory management with partial compaction'. Together they form a unique fingerprint.

Cite this