Handling precompiled binaries in a hardware accelerated software transactional memory system
Abstract
A method and apparatus for enabling a Software Transactional Memory (STM) with precompiled binaries is herein described. Upon encountering an access operation in a transaction, an annotation field associated with a memory location referenced by the access is checked. In response to the memory location representing a previous similar access within the transaction, the access is performed without access barriers. However, if the annotation field is in a default state representing no previous access during a pendancy of the transaction, then a mode of the processor is determined. If the processor mode is in implicit mode, an access handler/barrier is asynchronously executed. Conversely, in an explicit mode, a flag is set instead of asynchronously executing the handler. In addition, during compilation convert explicit and convert implicit instructions are inserted to intelligently convert modes for precompiled and newly compiled binaries. Furthermore, new versions of newly compiled functions may be inserted to provide strong atomicity between previously and newly compiled functions.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computing device for transactional memory execution, the computing device comprising: a cache memory to hold a cache line with a corresponding hardware transaction tracking field; and a processing element to: encounter, within a transaction, a transactional memory access to the cache line with the corresponding hardware transaction tracking field set to an un-accessed value indicating that the transaction has not previously accessed the cache line during its pendency; generate a transactional event in response to an encounter of the transactional memory access; determine an address from a st
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- "Implementing a High Performance Software Transactional Memory for a Multi-core Runtime," by Bratin Saha, Ali-Reza Adl-Tabatabai, Rich Hudson, Chi Coa 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.; "Unbounced 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.