首页>
外国专利>
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.
展开▼