发明名称 Synchronous collection of cyclic garbage in reference counting systems
摘要 Techniques are provided that speed synchronous garbage collection in systems that use reference counting. The present invention performs each of the steps of marking, scanning, and collecting on all nodes that are possibly nodes in a cycle of garbage. These nodes are referred to as "root" nodes herein. In other words, an aspect of the present invention performs the step of marking on each root node, the step of scanning on each root node, and the step of collecting on each root node. Performing one or more of these steps on all of the root nodes results in a lower number of operations than selecting single root nodes, performing these steps on each root node, and iterating until all root nodes are selected. Additionally, before root nodes are added to a buffer, they are examined to determine if they are already in the buffer. If they are, they are not added to the buffer. This prevents the same root node from being examined multiple times. Finally, nodes are examined to determine whether they are acyclic. Acyclic nodes are ignored when finding cyclic garbage.
申请公布号 US2002107880(A1) 申请公布日期 2002.08.08
申请号 US20010011051 申请日期 2001.12.07
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 BACON DAVID FRANCIS
分类号 G06F7/00;G06F12/02;G06F17/30;(IPC1-7):G06F7/00 主分类号 G06F7/00
代理机构 代理人
主权项
地址