首页> 外国专利> Method for using cache prefetch feature to improve garbage collection algorithm

Method for using cache prefetch feature to improve garbage collection algorithm

机译:利用缓存预取功能改进垃圾收集算法的方法

摘要

A method for creating a mark stack for use in a moving garbage collection algorithm is described. The algorithm of the present invention creates a mark stack to implement a MGCA. The algorithm allows efficient use of cache memory prefetch features to reduce the required time to complete the mark stack and thus reduce the time required for garbage collection. Instructions are issued to prefetch data objects that will be examined in the future, so that by the time the scan pointer reaches the data object, the cache lines for the data object are already filled. At some point after the data object is prefetched, the address location of associated data objects is likewise prefetched. Finally, the associated data objects located at the previously fetched addresses are prefetched. This reduces garbage collection by continually supplying the garbage collector with a stream of preemptively prefetched data objects that require scanning.
机译:描述了一种用于创建在移动垃圾收集算法中使用的标记栈的方法。本发明的算法创建标记栈以实现MGCA。该算法允许有效使用高速缓存存储器的预取功能,以减少完成标记堆栈所需的时间,从而减少垃圾收集所需的时间。发出指令以预取将来将要检查的数据对象,以便在扫描指针到达数据对象时,已经填充了该数据对象的高速缓存行。在预取数据对象后的某个时刻,关联的数据对象的地址位置也同样被预取。最终,预取位于先前获取的地址处的关联数据对象。通过为垃圾收集器连续提供需要扫描的抢先预取数据对象流,可以减少垃圾收集。

著录项

  • 公开/公告号US6662274B2

    专利类型

  • 公开/公告日2003-12-09

    原文格式PDF

  • 申请/专利权人 INTEL CORPORATION;

    申请/专利号US20010886068

  • 发明设计人 RICHARD L. HUDSON;SREENIVAS SUBRAMONEY;

    申请日2001-06-20

  • 分类号G06F120/20;

  • 国家 US

  • 入库时间 2022-08-21 23:12:29

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号