首页> 外文会议>Workshop on Memory system performance >Older-first garbage collection in practice
【24h】

Older-first garbage collection in practice

机译:实践中的先旧垃圾回收

获取原文

摘要

Until recently, the best performing copying garbage collectors used a generational policy which repeatedly collects the very youngest objects, copies any survivors to an older space, and then infrequently collects the older space. A previous study that used garbage-collection simulation pointed to potential improvements by using an Older-First copying garbage collection algorithm. The Older-First algorithm sweeps a fixed-sized window through the heap from older to younger objects, and avoids copying the very youngest objects which have not yet had sufficient time to die. We describe and examine here an implementation of the Older-First algorithm in the Jikes RVM for Java. This investigation shows that Older-First can perform as well as the simulation results suggested, and greatly improves total program performance when compared to using a fixed-size nursery generational collector. We further compare Older-First to a flexible-size nursery generational collector in which the nursery occupiesall of the heap that does not contain older objects. In these comparisons, the flexible-nursery collector is occasionally the better of the two, but on average the Older-First collector performs the best.
机译:直到最近,性能最好的复制垃圾收集器都采用了世代相传的策略,该策略反复收集最年轻的对象,将所有幸存者复制到较旧的空间,然后很少收集较旧的空间。先前使用垃圾收集模拟的研究指出了使用 Older-First 复制垃圾收集算法的潜在改进。 “先有先得”算法从旧对象到较年轻的对象在堆中扫过一个固定大小的窗口,并避免了复制还没有足够时间死亡的最年轻的对象。我们在这里描述和检查Java的Jikes RVM中Older-First算法的实现。这项研究表明,与使用固定大小的苗代收集器相比,Older-First的性能可以达到建议的模拟结果,并且可以大大提高总程序的性能。我们进一步将“较旧优先”与“灵活大小的苗圃代收集器”进行比较,其中,苗圃占据了不包含较旧对象的所有堆。在这些比较中,柔性护理收集器有时是两者中较好的一个,但平均而言,“先入先出”收集器的效果最佳。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号