节点文献

Class-Based Garbage Collection in Object-Oriented Programming Environments

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 张武生黄启峰沈美明郑纬民

【Author】 ZHANG Wusheng, HUANG Qifeng , SHEN Meiming **, ZHENG Weimin Department of Computer Science and Technology, Tsinghua University, Beijing 100084, China

【机构】 Department of Computer Science and TechnologyTsinghua UniversityTsinghua University Beijing 100084ChinaBeijing 100084China

【Abstract】 Many garbage collection algorithms have been proposed, but few address the special needs of long-running server programs. Server applications usually run for years and spawn many threads, so they create and discard thousands of objects. Therefore, efficient garbage collection is especially important for those applications. This paper presents a class-based garbage collector for object-oriented programming environments that classifies objects by their types to achieve better gradualness. Grouping objects of the same type into a group, with a limited type-lock, a mutator cache and the lease protocol will reduce memory fragmentation, which is especially important for the efficiency of long-running server applications. This class-based collector partitions the heap space by type, which provides better concurrency than the traditional mark-sweep collector, and its reusable garbaged object pool also reduces the object allocation overhead. This paper also discusses the implementation details, such as the mutator cache and the lease protocol, and techniques to achieve better accuracy.

【基金】 the National High- Tech Research andDevelopm ent Program of China(No. 30 6 - 0 1- 0 3- 11- 9)
  • 【文献出处】 Tsinghua Science and Technology ,清华大学学报(自然科学版英文版) , 编辑部邮箱 ,2003年06期
  • 【分类号】TP301.6
  • 【被引频次】4
  • 【下载频次】106
节点文献中: 

本文链接的文献网络图示:

本文的引文网络