Compiler support for optimizing decomposed software transactional memory operations
Abstract
A software transactional memory system is described which utilizes decomposed software transactional memory instructions as well as runtime optimizations to achieve efficient performance. The decomposed instructions allow a compiler with knowledge of the instruction semantics to perform optimizations which would be unavailable on traditional software transactional memory systems. Additionally, high-level software transactional memory optimizations are performed such as code movement around procedure calls, addition of operations to provide strong atomicity, removal of unnecessary read-to-update upgrades, and removal of operations for newly-allocated objects. During execution, multi-use header words for objects are extended to provide for per-object housekeeping, as well as fast snapshots which illustrate changes to objects. Additionally, entries to software transactional memory logs are filtered using an associative table during execution, preventing needless writes to the logs. Finally a garbage collector with knowledge of the software transactional memory system compacts software transactional memory logs during garbage collection.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 8.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of compiling a program, the program including software transactional memory blocks and the method comprising: by a computer, optimizing the program to create an optimized program containing software transactional memory instructions; wherein optimizing the program comprises: (a) inserting one or more word-based direct-access software transactional memory instructions at the software transactional memory blocks; (b) replacing the one or more word-based direct-access software transactional memory instructions with decomposed software transactional memory instructions in the program at t
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (8 of 8 total)
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- Adl-Tabatabai et al., "Compiler and Runtime Support for Efficient Software Transactional Memory," Proceedings of the 2006 ACM SIGPLAN Conference on Programming Language Design and Implementation, 2006, pp. 26-36.
- Agesen et al., "An Efficient Meta-Lock for Implementing Ubiguitous Synchronization", 30 pages, (Apr. 1999).
- Agrawal et al., "An interprocedural framework for placement of asynchronous I/O operations," UMD Technical Report CS-TR-3563, 1998, <http://www.ib.umd.edu/drum/bitstream/1903/778/2/CS-TR-3563.pdf,> retrieved Feb. 24, 2010, pp. 1-25.
- Agrawal et al., "An interprocedural framework for placement of asynchronous I/O operations," UMD Technical Report CS-TR-3563, 1998, retrieved Feb. 24, 2010, pp. 1-25.
- Agrawal et al., "Interprocedural partial redundancy elimination and its application to distributed memory compilation," Proceedings of the ACM SIGPLAN 1995 Conference on Programming Language Design and Implementation, 1995, pp. 258-269.