Privatization-Safe Transactional Memories (Extended Version)
Artem Khyzha, Hagit Attiya, Alexey Gotsman

TL;DR
This paper introduces a new approach for transactional memory systems that ensures strongly atomic semantics for privatization-safe programs, balancing correctness guarantees with performance considerations.
Contribution
It formalizes privatization-safe opacity, proves its sufficiency for certain TM classes, and demonstrates how to verify this property, including an analysis of inherent costs.
Findings
Privatization-safe opacity can be reduced to standard opacity for verification.
A TM based on two-phase locking and privatization-safe TL2 satisfies privatization-safe opacity.
Privatization-safety imposes inherent performance costs, preventing progressiveness with invisible reads.
Abstract
Transactional memory (TM) facilitates the development of concurrent applications by letting the programmer designate certain code blocks as atomic. Programmers using a TM often would like to access the same data both inside and outside transactions, and would prefer their programs to have a strongly atomic semantics, which allows transactions to be viewed as executing atomically with respect to non-transactional accesses. Since guaranteeing such semantics for arbitrary programs is prohibitively expensive, researchers have suggested guaranteeing it only for certain data-race free (DRF) programs, particularly those that follow the privatization idiom: from some point on, threads agree that a given object can be accessed non-transactionally. In this paper we show that a variant of Transactional DRF (TDRF) by Dalessandro et al. is appropriate for a class of privatization-safe TMs, which…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsDistributed systems and fault tolerance · Advanced Data Storage Technologies · Security and Verification in Computing
