Back to Search Start Over

Last-use opacity: a strong safety property for transactional memory with prerelease support.

Authors :
Siek, Konrad
Wojciechowski, Paweł T.
Source :
Distributed Computing. Jun2022, Vol. 35 Issue 3, p265-301. 37p.
Publication Year :
2022

Abstract

Transaction Memory (TM) is a concurrency control abstraction that allows the programmer to specify blocks of code to be executed atomically as transactions. However, since transactional code can contain just about any operation attention must be paid to the state of shared variables at any given time. E.g., contrary to a database transaction, if a TM transaction reads a stale value it may execute dangerous operations, like attempt to divide by zero, access an illegal memory address, or enter an infinite loop. Thus serializability is insufficient, and stronger safety properties are required in TM, which regulate what values can be read, even by transactions that abort. Hence, a number of TM safety properties were developed, including opacity, and TMS1 and TMS2. However, such strong properties preclude using prerelease as a technique for optimizing TM, because they virtually forbid reading from live transactions. On the other hand, properties that do allow prerelease are either not strong enough to prevent any of the problems mentioned above (recoverability), or add additional conditions on transactions that prerelease variables that limit their applicability (elastic opacity, live opacity, virtual world consistency). This paper introduces last-use opacity and strong last-use opacity, a pair of new TM safety properties meant to be a compromise between strong properties like opacity and minimal ones like serializability. The properties eliminate all but a small class of benign inconsistent views and pose no stringent conditions on transactions. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
01782770
Volume :
35
Issue :
3
Database :
Academic Search Index
Journal :
Distributed Computing
Publication Type :
Academic Journal
Accession number :
156935764
Full Text :
https://doi.org/10.1007/s00446-022-00420-2