Methods, apparatus and articles of manufacture for regaining memory consistency after a trap via transactional memory
Abstract
Embodiments of the invention provide a method for regaining memory consistency after a trap via transactional memory. Transactional memory and a transactional memory log are used to undo changes made to memory from a transaction start point up to the point of a trap event. After the trap event is processed, and the changes are rolled back, the program can resume execution at the beginning of the transaction.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 12.
Claims (3 — 2 Independent, 1 Dependent)
- Claim 1Independent Claim
A method for regaining memory consistency after a trap event, the method comprising: initiating, by a thread, a transaction including a plurality of instructions; recording a sequence of changes made to memory while executing the plurality of instructions; detecting an occurrence of a trap event prior to completing the transaction; passing an error code to the thread indicating a type of error that caused the trap event; rolling back the sequence of changes made to the memory up to a first instruction of the transaction, based on the recorded sequence; and resuming execution of the thread at t
- Claim 2Depends on #1
The method of claim 1 , further comprising invoking a trap-handler associated with the trap event prior to resuming execution of the thread at the first instruction of the transaction.
- Claim 3Independent Claim
The method
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗