Back to Search
Start Over
Automatic memory reclamation for lock-free data structures
- Source :
- ACM SIGPLAN Notices. 50:260-279
- Publication Year :
- 2015
- Publisher :
- Association for Computing Machinery (ACM), 2015.
-
Abstract
- Lock-free data-structures are widely employed in practice, yet designing lock-free memory reclamation for them is notoriously difficult. In particular, all known lock-free reclamation schemes are ``manual'' in the sense that the developer has to specify when nodes have retired and may be reclaimed. Retiring nodes adequately is non-trivial and often requires the modification of the original lock-free algorithm. In this paper we present an automatic lock-free reclamation scheme for lock-free data-structures in the spirit of a mark-sweep garbage collection. The proposed algorithm works with any normalized lock-free algorithm and with no need for the programmer to retire nodes or make changes to the algorithm. Evaluation of the proposed scheme on a linked-list and a hash table shows that it performs similarly to the best manual (lock-free) memory reclamation scheme.
Details
- ISSN :
- 15581160 and 03621340
- Volume :
- 50
- Database :
- OpenAIRE
- Journal :
- ACM SIGPLAN Notices
- Accession number :
- edsair.doi...........49580302f51f9f0085577deddbb5b955