首页> 外国专利> A method and apparatus for optimizing exact garbage collection, using loop operation on pointer arrays

A method and apparatus for optimizing exact garbage collection, using loop operation on pointer arrays

机译:使用对指针数组的循环操作来优化精确垃圾收集的方法和设备

摘要

Apparatus, methods, systems and computer program products are disclosed that optimize a programmed loop that stores pointer variables in an array in a card-marked heap. These methods also optimize garbage collection operations on these pointer variables. Instead of implementing a write-barrier in the body of a programmed loop, the loop is pararneterized. This parameterization is associated with the pointer array stored in the heap. This parameterization specifies the first and last modified elements in the array. It further specifies the stride (which indicates how many elements are skipped to reach the next modified element of the array). The parameterization is modified by successive loops that access the array. During a garbage collection operation, the array's pararneterization is used to optimize the process of locating modified elements in the array.
机译:公开了用于优化编程的循环的装置,方法,系统和计算机程序产品,该编程的循环将指针变量存储在标记有卡的堆中的阵列中。这些方法还优化了对这些指针变量的垃圾回收操作。与其在编程循环的主体中实现写屏障,不如说是对循环进行了参数化。此参数化与存储在堆中的指针数组相关联。此参数化指定数组中的第一个和最后一个修改的元素。它进一步指定了步幅(指示要跳过多少个元素才能到达数组的下一个修改的元素)。通过访问数组的连续循环来修改参数化。在垃圾回收操作期间,将使用数组的参数化来优化在数组中定位已修改元素的过程。

著录项

  • 公开/公告号EP0874317B1

    专利类型

  • 公开/公告日2001-06-13

    原文格式PDF

  • 申请/专利权人 SUN MICROSYSTEMS INC;

    申请/专利号EP19980303013

  • 发明设计人 KNIPPEL ROSS C.;BEYLIN BORIS;

    申请日1998-04-20

  • 分类号G06F12/02;

  • 国家 EP

  • 入库时间 2022-08-22 01:16:46

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号