ACM Home Page
Please provide us with feedback. Feedback
Memory occupancy patterns in garbage collection systems
Full text PdfPdf (621 KB)
Source
Communications of the ACM archive
Volume 27 ,  Issue 8  (August 1984) table of contents
Pages: 819 - 825  
Year of Publication: 1984
ISSN:0001-0782
Author
D. Julia. M. Davies  Univ. of Western Ont., London, Ont., Canada
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 1,   Downloads (12 Months): 12,   Citation Count: 2
Additional Information:

abstract   references   cited by   index terms  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/358198.358226
What is a DOI?

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.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
Betteridge, T. An analytical storage allocation model. Acta Inf. (1974), 101-122.
 
2
Davies, D.J.M. The fifty-percent rule revisited. BIT 20 (1980), 279- 288.
 
3
Feller, W. An Introduction to Probability Theory and its Applications, Vol. 1, 3rd ed. John Wiley & Sons, Inc,, New York, 1968.
 
4
 
5
 
6
Mood, A.M The distribution theory of runs. Ann. Math. Stat. 11 (1940), 367-392.
7
8
 
9
Reeves, C.M. Free store distribution under random fit placement: Part I. Comput. J. 22, 4 (1979), 346-351.
 
10
Reeves, C.M. Free store distribution under random fit placement: Part 2. Comput. J. 23 4 (1980), 298-306.
 
11
Reeves, C.M. Free store distribituion under random fit placement: Part 3. Comput. J. 26, 1 (1983), 25-35.
 
12
Davies, D.J.M. A note on sparsely filled dynamically allocated memory. Comput. J. 25, 1 (1982), 159.