z-logo
open-access-imgOpen Access
Software transactional memory for dynamic-sized data structures
Author(s) -
Maurice Herlihy,
Victor Luchangco,
Mark Moir,
William N. Scherer
Publication year - 2003
Publication title -
citeseer x (the pennsylvania state university)
Language(s) - English
Resource type - Conference proceedings
ISBN - 1-58113-708-7
DOI - 10.1145/872035.872048
Subject(s) - computer science , software transactional memory , concurrent data structure , modular design , blocking (statistics) , data structure , dynamic data , transactional memory , lock (firearm) , software , distributed computing , feature (linguistics) , tree (set theory) , parallel computing , programming language , computer network , mechanical engineering , mathematical analysis , linguistics , philosophy , database transaction , mathematics , engineering
We propose a new form of software transactional memory (STM) designed to support dynamic-sized data structures, and we describe a novel non-blocking implementation. The non-blocking property we consider is obstruction-freedom. Obstruction-freedom is weaker than lock-freedom; as a result, it admits substantially simpler and more efficient implementations. A novel feature of our obstruction-free STM implementation is its use of modular contention managers to ensure progress in practice. We illustrate the utility of our dynamic STM with a straightforward implementation of an obstruction-free red-black tree, thereby demonstrating a sophisticated non-blocking dynamic data structure that would be difficult to implement by other means. We also present the results of simple preliminary performance experiments that demonstrate that an "early release" feature of our STM is useful for reducing contention, and that our STM lends itself to the effective use of modular contention managers.

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here
Accelerating Research

Address

John Eccles House
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom