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