The one-bit reference count |
| |
Authors: | David S Wise Daniel P Friedman |
| |
Institution: | (1) Computer Science Department, Indiana University, 47401 Bloomington, Indiana |
| |
Abstract: | Deutsch and Bobrow propose a storage reclamation scheme for a heap which is a hybrid of garbage collection and reference counting. The point of the hybrid scheme is to keep track of very low reference counts between necessary invocation of garbage collection so that nodes which are allocated and rather quickly abandoned can be returned to available space, delaying necessity for garbage collection. We show how such a scheme may be implemented using the mark bit already required in every node by the garbage collector. Between garbage collections that bit is used to distinguish nodes with a reference count known to be one. A significant feature of our scheme is a small cache of references to nodes whose implemented counts ought to be higher which prevents the loss of logical count information in simple manipulations of uniquely referenced structures.Research reported herein was supported in part by the National Science Foundation under grants numbered MCS 75-08145 and DCR 75-06678. |
| |
Keywords: | garbage collection storage management assignment statement |
本文献已被 SpringerLink 等数据库收录! |