首页 | 本学科首页   官方微博 | 高级检索  
     检索      


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 ldquoought to be higherrdquo 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 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号