arrow
Return

Hazard pointers: Safe memory reclamation for lock-free objects

delete2004-06-01
delete330
PRE
AI
M
Michael, MM
DOI:10.1109/TPDS.2004.8delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Lock-free objects offer significant performance and reliability advantages over conventional lock-based objects. However, the lack of an efficient portable lock-free method for the reclamation of the memory occupied by dynamic nodes removed from such objects is a major obstacle to their wide use in practice. This paper presents hazard pointers, a memory management methodology that allows memory reclamation for arbitrary reuse. It is very efficient, as demonstrated by our experimental results. It is suitable for user-level applications-as well as system programs-without dependence on special kernel or scheduler support. It is wait-free. It requires only single-word reads and writes for memory access in its core operations. It allows reclaimed memory to be returned to the operating system. In addition, it offers a lock-free solution for the ABA problem using only practical single-word instructions. Our experimental results on a multiprocessor system show that the new methodology offers equal and, more often, significantly better performance than other memory management methods, in addition to its qualitative advantages regarding memory reclamation and independence of special hardware support. We also show that lock-free implementations of important object types, using hazard pointers, offer comparable performance to that of efficient lock-based implementations under no contention and no multiprogramming, and outperform them by significant margins under moderate multiprogramming and/or contention, in addition to guaranteeing continuous progress and availability, even in the presence of thread failures and arbitrary delays.
Keywords:
lock-free
synchronization
concurrent programming
memory management
multiprogramming
dynamic data structures
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

IEEE Transactions on Parallel and Distributed Systems cover
IEEE Transactions on Parallel and Distributed Systems
IF:
6
Papers:
5.2K
Citations:
1.1W

Organization

No organization information available
Cited Papers

Cited Papers

Optical memory bandwidth and multiplexing capacity in the erbium telecommunication window
err2015-02-10
err0
errOAAI
errJ Dajczgewand; R Ahlefeldt; T Böttger; A Louchet-Chauvet; J-L Le Gouët; T Chanelière
errShare
errSave
errShare
errSave
Utility of the psychomotor vigilance task in screening for obstructive sleep apnoea
err2024-01-23
err0
PREAI
errJingru Ma; Xihe Qiu; Lijie Sun; Ning Cong; Yingchen Wei; Chunsheng Wei; Jingjing Huang
errShare
errSave
CAME: Contrastive Automated Model Evaluation
err2023-10-01
err0
errOAAI
errRu Peng; Qiuyang Duan; Haobo Wang; Jiachen Ma; Yanbo Jiang; Yongjun Tu; Xiu Jiang; Junbo Zhao
errShare
errSave
Lack of Effect of Isometric Handgrip Exercise on the Responses of the Carotid Sinus Baroreceptor Reflex in Man
err1978-08-01
err0
PREAI
errJ. Ludbrook; I. B. Faris; J. Iannos; G. G. Jamieson; W. J. Russell
errShare
errSave
errShare
errSave
researcher View more