Lock-free reference counting

被引:37
作者
Detlefs, DL [1 ]
Martin, PA [1 ]
Moir, M [1 ]
Steele, GL [1 ]
机构
[1] Sun Microsyst Labs, Burlington, MA 01803 USA
关键词
lockfree synchronization; reference counting; memory management; dynamic data structures;
D O I
10.1007/s00446-002-0079-z
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Assuming the existence of garbage collection makes it easier to design implementations of dynamic-sized concurrent data structures. However, this assumption limits their applicability. We present a methodology that, for a significant class of data structures, allows designers to first tackle the easier problem of designing a garbage-collection-dependent implementation, and then apply our methodology to achieve a garbage-collection-independent one. Our methodology is based on the well-known reference counting technique, and employs the double compare-and-swap operation.
引用
收藏
页码:255 / 271
页数:17
相关论文
共 26 条
[21]   Software transactional memory [J].
Shavit, N ;
Touitou, D .
DISTRIBUTED COMPUTING, 1997, 10 (02) :99-116
[22]   MULTIPROCESSING COMPACTIFYING GARBAGE COLLECTION [J].
STEELE, GL .
COMMUNICATIONS OF THE ACM, 1975, 18 (09) :495-508
[23]  
Valois J. D., 1995, Proceedings of the Fourteenth Annual ACM Symposium on Principles of Distributed Computing, P214, DOI 10.1145/224964.224988
[24]   ALGORITHMS FOR ON-THE-FLY GARBAGE COLLECTION REVISITED [J].
VANDESNEPSCHEUT, JLA .
INFORMATION PROCESSING LETTERS, 1987, 24 (04) :211-216
[25]  
1986, MOTOROLA MC68020 32
[26]  
[No title captured]