Lock-clustering compilation for software transactional memory
Abstract
A lock-clustering compiler is configured to compile program code for a software transactional memory system. The compiler determines that a group of data structures are accessed together within one or more atomic memory transactions defined in the program code. In response to determining that the group is accessed together, the compiler creates an executable version of the program code that includes clustering code, which is executable to associate the data structures of the group with the same software transactional memory lock. The lock is usable by the software transactional memory system to coordinate concurrent transactional access to the group of data structures by multiple concurrent threads.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 15 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A non-transitory computer-readable storage medium storing program instructions executable by one or more processors to implement: a compiler configured to compile program code for execution on a software transactional memory system, wherein the compilation comprises: recognizing by the compiler that a group of data structures is accessed together within one or more atomic memory transactions defined in the program code; and in response to the compiler recognizing that the group of data structures is accessed together within one or more atomic memory transactions defined in the program code, th
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 2013205284 A1 | Ownership acquire policy selection | — | 3 |
References Cited — Backward Prior Art (15)
Non-Patent Literature (5)
- Aleksandar Dragojevic, "Optimizing Transactions for Captured Memory," Aug. 11-13, 2009, ACM, pp. 214-222.
- Ali-Reza Adl-Tabatabai, Brian T. Lewis, Vijay Menon, Brian R. Murphy Brain Saha and Tatiana Shpeisman, "Compiler and Runtime Support for Efficient Software Transactional Memory", Jun. 10, 2006, ACM, pp. 26-37.
- Ali-Reza Adl-Tabatabai, et al., "Compiler and Runtime Support for Efficient Software Transactional," Jun. 10-16, 2006, ACM, pp. 26-37.
- Cheng Wang, et al. "Code Generation and Optimisation for Transactional Memory Constructs in an Unmanaged Language," International Symposium on Code Geneartion and Optimization, 2007, IEEE, 12 pages.
- Tim Harris, Mark Plesko, Avraham Shinnar, and David Tarditi, "Optimizing Memory Transactions," Jun. 11-14, 2006, ACM, 12 pages.