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.
Publisher
Association for Computing Machinery (ACM)
Subject
Computer Graphics and Computer-Aided Design,Software
Cited by
19 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Object lifetime trend of modern Android applications for GC performance improvement;Proceedings of the 11th International Conference on Ubiquitous Information Management and Communication;2017-01-05
2. Recycling trash in cache;ACM SIGPLAN Notices;2016-01-28
3. Recycling trash in cache;Proceedings of the 2015 International Symposium on Memory Management;2015-06-14
4. XMem;ACM SIGPLAN Notices;2008-05-30
5. Garbage Collection Techniques;The Compiler Design Handbook;2007-12-07