首页> 外国专利> Use of memory protection to implement replicating collection in an incremental, copying garbage collector

Use of memory protection to implement replicating collection in an incremental, copying garbage collector

机译:使用内存保护在增量复制垃圾收集器中实现复制收集

摘要

An incremental collector can include memory pages, preferably virtual memory (VM) pages containing objects. A bit or byte map is created with one entry corresponding to each VM page. The VM page being collected is first write-protected and then the reachable objects are copied or relocated. Application induced changes to objects that have already been relocated are flagged in the map. Later the collector will suspend the application, scan the map and update the relocated objects that were changed and update the references to these objects. In one embodiment aimed at concurrent collecting, the map is copied to a second map, and the second map is scanned for changes that are propagated as before. The application may be suspended on the last pass through the map for the updating of remaining relocated objects by scanning the first map. The incremental collector can be a Train algorithm.
机译:增量收集器可以包括内存页面,最好是包含对象的虚拟内存(VM)页面。使用与每个VM页面相对应的一个条目创建位或字节映射。首先对收集的VM页面进行写保护,然后将可访问对象复制或重新定位。应用程序对已重定位的对象引起的更改在地图中标记出来。稍后,收集器将挂起应用程序,扫描地图并更新已更改的重定位对象,并更新对这些对象的引用。在旨在同时收集的一个实施例中,将地图复制到第二地图,并且扫描第二地图以寻找如前所述传播的变化。可以在最后一次通过地图时暂停应用程序,以通过扫描第一张地图来更新剩余的重定位对象。增量收集器可以是Train算法。

著录项

  • 公开/公告号US7653793B1

    专利类型

  • 公开/公告日2010-01-26

    原文格式PDF

  • 申请/专利权人 ALEXANDER T. GARTHWAITE;

    申请/专利号US20040991148

  • 发明设计人 ALEXANDER T. GARTHWAITE;

    申请日2004-11-17

  • 分类号G06F13/00;

  • 国家 US

  • 入库时间 2022-08-21 18:48:40

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号