Nothing Special   »   [go: up one dir, main page]

skip to main content
article
Free access

Infant mortality and generational garbage collection

Published: 01 April 1993 Publication History

Abstract

Generation-based garbage collection has been advocated by appealing to the intuitive but vague notion that "young objects are more likely to die than old objects". The intuition is, that if a generation-based garbage collection scheme focuses its effort on scanning recently created objects, then its scanning efforts will pay off more in the form of more recovered garbage, than if it scanned older objects. In this note, we show a counterexample of a system in which "infant mortality" is as high as you please, but for which generational garbage collection is ineffective for improving the average mark/cons ratio. Other benefits, such as better locality and a smaller number of large delays, may still make generational garbage collection attractive for such a system, however.

References

[1]
Appel, A.W. "Simple Generational Garbage Collection and Fast Allocation". Soft. Prac. & Exper. 19, 2 (Feb. 1989), 171-183.
[2]
Baker, H.G. "List Processing in Real Time on a Serial Computer". CACM 21, 4 (April 1978), 280-294.
[3]
Baker, H.G. "CONS Should not CONS its Arguments, or, a Lazy Alloc is a Smart Alloc". ACM Sigplan Not. 27, 3 (March 1992), 24-34.
[4]
Bekkers, Y., and Cohen, J. eds. Memory Management: Proceedings of the International Workshop on Memory Management, St. Malo, France. Springer LNCS 637, 1992.
[5]
Clark, D.W., and Green, C.C. "An Empirical Study of List Structure in LISP". CACM 20, 2 (Feb. 1977), 78-87.
[6]
DeTreville, John. "Reducing the Cost of Garbage Collection". Unpublished manuscript, May, 1977.
[7]
Lieberman, H., and Hewitt, C. "A Real-Time Garbage Collector Based on the Lifetimes of Objects". CACM 26, 6 (June 1983), 419-429.
[8]
Mandelbrot, B. The Fractal Geometry of Nature. W.H. Freeman & Co., New York, 1983.
[9]
Moon, D. "Garbage Collection in a Large Lisp System". ACM Symp. on Lisp and Functional Prog., Austin, TX, 1984, 235-246.
[10]
Unger, D. "Generation Scavenging: A non-disruptive, high performance storage reclamation algorithm". ACM Soft. Eng. Symp. on Proc. Software Dev. Envs., Sigplan Not. 19, 6 (June 1984), 157-167.
[11]
Wilson, Paul R. "Some Issues and Strategies in Heap Management and Memory Hierarchies". ACM Sigplan Not. 26, 3 (March 1991), 45-52.

Cited By

View all
  • (2017)Object lifetime trend of modern Android applications for GC performance improvementProceedings of the 11th International Conference on Ubiquitous Information Management and Communication10.1145/3022227.3022311(1-6)Online publication date: 5-Jan-2017
  • (2016)A Study on Object Lifetime in GC of Android Applications2016 Fourth International Symposium on Computing and Networking (CANDAR)10.1109/CANDAR.2016.0126(701-703)Online publication date: Nov-2016
  • (2015)Recycling trash in cacheACM SIGPLAN Notices10.1145/2887746.275418350:11(118-130)Online publication date: 14-Jun-2015
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM SIGPLAN Notices
ACM SIGPLAN Notices  Volume 28, Issue 4
April 1993
61 pages
ISSN:0362-1340
EISSN:1558-1160
DOI:10.1145/152739
Issue’s Table of Contents

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 April 1993
Published in SIGPLAN Volume 28, Issue 4

Check for updates

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)169
  • Downloads (Last 6 weeks)15
Reflects downloads up to 21 Nov 2024

Other Metrics

Citations

Cited By

View all
  • (2017)Object lifetime trend of modern Android applications for GC performance improvementProceedings of the 11th International Conference on Ubiquitous Information Management and Communication10.1145/3022227.3022311(1-6)Online publication date: 5-Jan-2017
  • (2016)A Study on Object Lifetime in GC of Android Applications2016 Fourth International Symposium on Computing and Networking (CANDAR)10.1109/CANDAR.2016.0126(701-703)Online publication date: Nov-2016
  • (2015)Recycling trash in cacheACM SIGPLAN Notices10.1145/2887746.275418350:11(118-130)Online publication date: 14-Jun-2015
  • (2015)Recycling trash in cacheProceedings of the 2015 International Symposium on Memory Management10.1145/2754169.2754183(118-130)Online publication date: 14-Jun-2015
  • (2014)We are all economists nowProceedings of the 9th International Workshop on Implementation, Compilation, Optimization of Object-Oriented Languages, Programs and Systems PLE10.1145/2633301.2633304(1-10)Online publication date: 28-Jul-2014
  • (2012)Evaluation of embeddable graph manipulation libraries in memory constrained environmentsProceedings of the 2012 ACM Research in Applied Computation Symposium10.1145/2401603.2401663(269-275)Online publication date: 23-Oct-2012
  • (2012)Adaptive eye gaze patterns in interactions with human and artificial agentsACM Transactions on Interactive Intelligent Systems10.1145/2070719.20707261:2(1-25)Online publication date: 13-Jan-2012
  • (2012)Conversational gaze mechanisms for humanlike robotsACM Transactions on Interactive Intelligent Systems10.1145/2070719.20707251:2(1-33)Online publication date: 13-Jan-2012
  • (2011)Economic theory for memory management optimizationProceedings of the 6th Workshop on Implementation, Compilation, Optimization of Object-Oriented Languages, Programs and Systems10.1145/2069172.2069176(1-4)Online publication date: 26-Jul-2011
  • (2011)Ranking function adaptation with boosting treesACM Transactions on Information Systems10.1145/2037661.203766329:4(1-31)Online publication date: 8-Dec-2011
  • Show More Cited By

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media