Memory Occupancy Patterns in Garbage Collection Systems

3Citations
Citations of this article
8Readers
Mendeley users who have this article in their library.

Abstract

Some programming languages and computer systems use dynamic memory allocation with garbage collection. It would be useful to understand how the utilization of memory depends on the stochastic parameters describing the size and life distributions of the cells. We consider a class of dynamic storage allocation systems which use a first-fit strategy to allocate cells and perform noncompacting garbage collections to recover free memory space when memory becomes fully occupied. A formula is derived for the expected number of holes (available cells) in memory immediately following a garbage collection which specializes to an analogue of Knuth's ‘Fifty Percent’ rule for nongarbage-collection systems. Simulations confirm the rule for exponentially distributed cell lifetimes. Other lifetime distributions are discussed. The memory-size requirements for noncompacting garbage collection are also analyzed. © 1984, ACM. All rights reserved.

Cite

CITATION STYLE

APA

Davies, D. J. M. (1984). Memory Occupancy Patterns in Garbage Collection Systems. Communications of the ACM, 27(8), 819–825. https://doi.org/10.1145/358198.358226

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free