Nonblocking memory management support for dynamic-sized data structures
Authors:
Open Access
- 1 May 2005
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Computer Systems
- Vol. 23 (2) , 146-196
Abstract
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.Keywords
This publication has 22 references indexed in Scilit:
- Hazard pointers: safe memory reclamation for lock-free objectsIEEE Transactions on Parallel and Distributed Systems, 2004
- Formal Verification of a Practical Lock-Free Queue Algorithm2004
- Space- and Time-adaptive Nonblocking AlgorithmsElectronic Notes in Theoretical Computer Science, 2003
- A Pragmatic Implementation of Non-blocking Linked-lists2001
- DCAS-based concurrent deques2000
- Even Better DCAS-Based Concurrent Deques2000
- Universal constructions for large objectsIEEE Transactions on Parallel and Distributed Systems, 1999
- Nonblocking Algorithms and Preemption-Safe Locking on Multiprogrammed Shared Memory MultiprocessorsJournal of Parallel and Distributed Computing, 1998
- Using k -exclusion to implement resilient, scalable shared objects (extended abstract)1994
- Wait-free synchronizationACM Transactions on Programming Languages and Systems, 1991