Compiler technique for efficient register checkpointing to support transaction roll-back
Abstract
A method and apparatus for efficient register checkpointing is herein described. A transaction is detected in program code. A recovery block is inserted in the program code to perform recovery operations in response to an abort of the first transaction. A roll-back edge is potentially inserted from an abort point to the recovery block. A control flow edge is inserted from the recovery block to a entry point of the transaction. Checkpoint code is inserted before the entry point to backup live-in registers in backup storage elements and recovery code is inserted in the recovery block to restore the live-in registers from the backup storage elements in response to an abort of the transaction.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 23 · Forward citations: 7.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method comprising: detecting a first transaction; determining a first storage element associated with the first transaction to be checkpointed by (i) determining the first storage element is a live-in storage element associated with the first transaction and (ii) determining the first storage element is to be checkpointed in response to determining the first storage element is a live-in storage element; inserting a first operation to store an original value to be held in the first storage element to a second storage element; inserting a second operation to restore the original value from the
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (7 of 7 total)
References Cited — Backward Prior Art (23)
Non-Patent Literature (5)
- "Implementing a High Performance Software Transactional Memory for a Multi-core Runtime" by Bratin Saha, Ali-Reza Adl-Tabatabai, Rick Hudson, Chi Cao Minh, and Ben Hertzberg, Proceedings of the eleventh ACM SIGPLAN symposium on Principles and practice of parallel programming, 2006.
- "Language Support for Lightweight Transactions", by T.L. Harris and K. Fraser, Proceedings of the 2003 ACM SIGPLAN Conference on Object-Oriented Programming Systems.
- "Software Transactional Memory" by N. Shavit and D. Tuitou, Proceedings of the Fourteenth ACM SIGACT-SIGOPS Symposium on Principles of Distributed Computing.
- Ananian, C.S.; Asanovic, K.; Kuszmaul, B.C.; Leiserson, C.E.; Lie, S.; "Unbounded transactional memory", 11th International Symposium on High-Performance Computer Architecture, 2005. HPCA-11, Feb. 12-16, 2005 pp. 316-327.
- H. Berenson, P. Bernstein, J. Gray, J. Melton, E. O'Neil, and P. O'Neil. "A critique of ANSI SQL isolation levels". In Proceedings of SIGMOD, pp. 1-10, 1995.