期刊文献+

基于长生命周期对象的混合垃圾收集 被引量:1

Long-lived-object-based Hybrid Garbage Collector
下载PDF
导出
摘要 Java语言因其在软件工程上的优势而被广泛地用来进行服务器应用的开发.这些应用中通常存在着大量的长生命周期的对象.单一的经典的垃圾收集算法不能够有效地减少对长生命周期对象的重复处理.一种基于长生命周期对象的混合垃圾收集算法(LLH)被设计和实现.该算法结合了缩并,复制和分代收集的特点,通过这些经典算法的动态切换与协作来解决这一问题.实验结果表明,与经典的分代垃圾收集相比,LLH收集算法能够使SPECjbb2005的Throughput分值提高3%~25%. With the advantages in software engineering, Java language is extensively applied for the development of server applications where there usually exist a large number of long-lived objects. No classical garbage collection algorithm can effectively decrease the repeated manipulations on those long-lived objects. This paper presents the design and implementation of a long- lived-object-based hybrid (LLH) garbage collection algorithm. It combines the features of compaction, copying and generation and takes advantage of the dynamic switching between them to solve the problems caused by long-lived objects. SPECjbb2005 is used to evaluate LLH algorithm and the results show that compared with generational garbage collection, LLH can improve the Throughput of the application by 3%-25%.
出处 《小型微型计算机系统》 CSCD 北大核心 2008年第7期1190-1195,共6页 Journal of Chinese Computer Systems
基金 国家重点基础研究发展计划“九七三”计划(2005CB321600)资助 国家自然科学基金杰出青年基金项目(60325205)资助 国家自然科学基金(60673146,60603049)资助 国家“八六三”高技术发展计划(2006AA010201)资助
关键词 JAVA 垃圾收集 对象生命周期 Java garbage collection object lifetime
  • 相关文献

参考文献8

  • 1Richard Jones, Rafael Lins. Garbage collection: algorithms for automatic dynamic memory management [M]. John Wiley & Sons Ltd. 1996.
  • 2Robert Fitzgerald,David Tarditi. The case for profile-directed selection of garbage collectors[C]. Proceedings of ACM-International Symposium on Memory Management, Minneapolis, Minnesota, 2000, 111-120.
  • 3Sunil Soman, Chandra Krintz,David F. Bacon. Dynamic selection of application-specific garbage collectors[C]. David F. Bacon, Amer Diwan ed. Proceedings of International Symposium on Memory Management. Vancouver, BC, Canada, 2004,49- 60.
  • 4Alpern B, Attanasio C R, Barton J J,et al. The jalapeno virtual machine[J]. IBM Systems Journal ,2000,39(1) 211-221.
  • 5Blackburn S M, Cheng P, McKinley K S. Oil and water? High performance garbage collection in Java with JMTk[C]. Rogerio de Lemos, Cristina Gacek, Alexander B. Romanovsky ed. Architecting Dependable Systems Ⅲ. 26th International Conference on Software Engineering, Scotland, UK, 2004.
  • 6Daniel Spoonhower, Guy Blelloch,Robert Harper. Using page residency to balance tradeoffs in tracing garbage collection[A]. Proceedings of the 1st ACM/USENIX international conference on Virtual Execution Environments[C]. Chicago, IL, USA, 2005, 57-67.
  • 7Buytaert D, Venstermans K, Eeckhout L, et al. Garbage collection hints[C]. Proceedings of HIPEAC'05. Lecture Notes in Computer Science Volume 3793, Springer-Verlag, 2005.
  • 8Appel A W. Simple generational garbage collection and fast allocation[J]. Software Practice and Experience, 1989, 19 (2) : 171-183.

同被引文献12

引证文献1

二级引证文献9

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部