Unified optimistic and pessimistic concurrency control for a software transactional memory (STM) system
Abstract
A method and apparatus for unified concurrency control in a Software Transactional Memory (STM) is herein described. A transaction record associated with a memory address referenced by a transactional memory access operation includes optimistic and pessimistic concurrency control fields. Access barriers and other transactional operations/functions are utilized to maintain both fields of the transaction record, appropriately. Consequently, concurrent execution of optimistic and pessimistic transactions is enabled.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 4.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A system comprising: machine readable medium to hold program code, when executed, to determine dynamically if a transaction is to be executed pessimistically; modify a pointer of an indirect call to an optimistic read barrier for a transactional load operation within the transaction to call to reference a pessimistic read barrier in response to determining dynamically the transaction is to be executed pessimistically; and a processor associated with the machine readable medium to execute the program code.
- Claim 2Depends on #1
The system of claim 1 , wherein to determine dynamically if a transaction is to be executed pessimistically comprises to determine during runtime execution at the entry boundary to the transaction if the transaction is to be executed pessimistically based on a transactional characteristic associated with the tra
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗