首页> 外国专利> Incremental, multi-area, generational, copying garbage collector for use in a virtual address space

Incremental, multi-area, generational, copying garbage collector for use in a virtual address space

机译:用于虚拟地址空间的增量,多区域,分代,复制垃圾收集器

摘要

An incremental garbage collector for use in conjunction with a virtual memory, operates on selected generations of an area upon objects which are contained in a semispace, oldspace or newspace, and during the garbage collection process, all accessible objects are copied from the oldspace to the newspace. The garbage collection process occurs in four phases. In the "flip" phase oldspace and newspace of each generation are exchanged. In the "trace" phase, the pointers which are part of a root set of the generation being collected are traced and all oldspace objects referenced by the pointers are copied to newspace, and the pointers in the root set are updated. All copied objects are then "scavenged" to update any pointers in the cells of the copied objects, and to copy to newspace all oldspace objects referenced by those pointers. Finally a "cleaning oldspace" phase is performed as a low-priority background process to purge the entries for the virtual pages on which "obsolete" pointers reside.
机译:与虚拟内存结合使用的增量垃圾收集器,在半空间,旧空间或新空间中包含的对象的选定区域区域上进行操作,并且在垃圾收集过程中,所有可访问的对象都将从旧空间复制到新空间。垃圾收集过程分为四个阶段。在“翻转”阶段,交换了每一代的旧空间和新空间。在“跟踪”阶段,将跟踪作为收集的世代根集合一部分的指针,并将指针引用的所有旧空间对象复制到新空间,并更新根集合中的指针。然后,所有被复制的对象都被“清理”以更新所复制对象的单元格中的所有指针,并将这些指针所引用的所有旧空间对象复制到新空间。最后,执行“清理旧空间”阶段作为低优先级后台进程,以清除“过时”指针所在的虚拟页面的条目。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号