Nonblocking memory management support for dynamic-sized data structures
Maurice P. Herlihy, Victor Luchangco, Paul Martin et al. · ACM Transactions on Computer Systems · 2005
Conventional dynamic memory management methods interact poorly with lock-free synchronization. In this article, we introduce novel techniques that allow lock-free data structures to allocate and free memory dynamically using any thread-safe memory management library. Our mechanisms are lock-free in the sense that they do not allow a thread to be prevented from allocating or freeing memory by the failure or delay of other threads. We demonstrate the utility of these techniques by showing how to modify the lock-free FIFO queue implementation of Michael and Scott to free unneeded memory. We give experimental results that show that the overhead introduced by such modifications is moderate, and is negligible under low contention.
Cited by 125 works. doi:10.1145/1062247.1062249
Authors
References
- How to Make a Multiprocessor Computer That Correctly Executes Multiprocess Programs
- Wait-free synchronization
- An Introduction to Input/Output Automata
- Simple, fast, and practical non-blocking and blocking concurrent queue algorithms
- The Sparc Architecture Manual/Version 9
- How to make a multiprocessor computer that correctly executes multiprocess programs
- Lock-free linked lists using compare-and-swap
- Hazard pointers: safe memory reclamation for lock-free objects
- High performance dynamic lock-free hash tables and list-based sets
- A Pragmatic Implementation of Non-blocking Linked-lists