期刊文献+

一种高效的垃圾收集器CCone

CCone :Highly Effective Garbage Collector
下载PDF
导出
摘要 为提高堆空间的利用率,许多垃圾收集器在标记扫描对象后加入"压缩"过程,主要有"标记-压缩"和"拷贝"两类垃圾收集器.垃圾收集时需要暂停程序的运行,为了减少这种时间开销,基于"拷贝"算法,垃圾收集器CCone在一次堆遍历中完成压缩过程和引用更新过程,而现有的算法至少需要两遍.此外,CCone基于"拷贝"算法充分利用多核和多线程技术,以页为单位,利用多线程启动多个垃圾收集器对堆空间进行垃圾回收.性能测试表明并行的CCone相比较传统的压缩垃圾收集器在吞吐量上有超过10%的提升,而由算法带来的开销可以忽略不计. Compact processing is introduced by various garbage collectors in order to improve the usability of heap,such as "Mark Compact" and "Copying Compact". However,it is a high overhead to stop the world for collecting garbage. Our garbage collector -CCone enhances the copying compact algorithm by combining two heap passes to one pass,reducing time overhead. In addition,CCone utilizes the multi-threads technology allowing many garbage collectors to complete the collecting task simultaneously. The experimental results show that the improved algorithm is useful for performance improvement of most benchmarks:10% improvement in throughput,with little overhead.
出处 《小型微型计算机系统》 CSCD 北大核心 2010年第2期307-311,共5页 Journal of Chinese Computer Systems
关键词 垃圾收集器(GC) 标记清除 HARMONY garbage collector mark sweep harmony
  • 相关文献

参考文献18

  • 1Alfred V Aho , Monica SLam, Ravi Sethi. Compilers: principles Techniques, &Tools ( 2nd Version ) [ M ]. Addison Wesley, 2006. ,463-470.
  • 2Henry G Baker. List processing in real-time on a serial computer [ J]. Communications of the ACM, 1978,21 (4) :280-94.
  • 3Cheney C J. A nonrecursive fist compacting algorithm[J]. Communications of the ACM 13, 1970,677-678.
  • 4David F Bacon, Perry Chcn, Rajah V T. A unified theory of garbage collection[C]. OOPSLA04,2004,50-68.
  • 5Hezi Azatchi, Levanoni Y, Paz H, et al. An on-the-fly mark and sweep garbage collector based on sliding view[ C]. OOPSLA03, 269 -281.
  • 6Apache Harmony[EB/OL]. http://harmony, apache, org, 2003.
  • 7SPEC: the standard performance evaluation corporation[ EB/OL]. http://ww, spec. org, 1995.
  • 8Luc Moreau. Hierarchical distributed reference counting [ C ]. 0ISMM98, Vancouver, B. C, 1998,57-67.
  • 9Kevin Donnelly, Hallett J J, Assaf Kfoury. Formal semantics of weak references[ C]. ISMM06, Ottawa, Ontario, Canada, 2006, 126-37.
  • 10Henry Baker. Minimizing reference count updating with deferred and anchored pointers for functional data structures [ C ]. ACM SIGPLAN Notices 29 (9) : 38-43.

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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