首页> 外国专利> Method and apparatus for reducing object pre-tenuring overhead in a generational garbage collector

Method and apparatus for reducing object pre-tenuring overhead in a generational garbage collector

机译:减少代垃圾收集器中的对象预托管开销的方法和设备

摘要

In some circumstances a generational garbage collector may be made more efficient by “pre-tenuring” objects or directly allocating new objects in an old generation instead of allocating them in the normal fashion in a young generation. A pre-tenuring decision is made by a two step process. In the first step, during a young-generation collection, an execution frequency is determined for each allocation site and sites with the highest execution frequency are selected as candidate sites. In the second step, during a subsequent young-generation collection, the survival rates are determined for the candidate sites. After this, objects allocated from sites with sufficiently high survival rates are allocated directly in the old generation.
机译:在某些情况下,可以通过“预租用”对象或在老一代中直接分配新对象,而不是在年轻一代中以常规方式分配对象,来提高世代垃圾收集器的效率。预租权决定由两步过程决定。第一步,在年轻一代收集期间,为每个分配站点确定执行频率,并选择执行频率最高的站点作为候选站点。第二步,在随后的年轻代收集期间,确定候选位点的存活率。此后,将从具有足够高生存率的站点分配的对象直接分配给旧一代。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号