Mechanism for software transactional memory commit/abort in unmanaged runtime environment
US8132158B2 · kind B2 · utility
Inventors
Key dates
| Filing date | Dec 28, 2006 |
| Grant date | Mar 6, 2012 |
| Priority date | — |
| Expiry date | Mar 26, 2030 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F9/466
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
A method and apparatus for ensuring integrity of transaction exit functions is herein described. Dead local data in a transaction is prevented from overwriting local variables associated with a transaction exit function. In a write-buffering Software Transactional Memory (STM) system, a commit function is associated with a private stack to store local variables to ensure write-back of local dead data in a write-buffer does not corrupt the commit function. Similarly, in a roll-back STM, an abort function is associated with a private stack to store local variables to ensure the roll-back of a program stack with local dead data from a write log does not corrupt the abort function. Alternatively, one stack may be used for the transaction including a first function and an exit function. Here, local dead variables are detected and prevented from overwriting local variables of the exit function.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.