Patents
US 8,799,882 B2#13950884 Most CitedActiveUnited States (USPTO)Utility

Compiler support for optimizing decomposed software transactional memory operations

8Forward Citations (#13950884 Global)
0.7/yrCitation Velocity (#11558571 Global)
1.43Citation PageRank (#24671502 Global)
50Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

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)

  1. 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 ↗

References Cited — Backward Prior Art (50)

PatentTitleYearCitations
US 5,535,352 AAccess hints for input/output address translation mechanisms199661
US 5,949,088 AIntermediate SRAM array product and method of conditioning memory elements thereof199919
US 6,059,840 AAutomatic scheduling of instructions to reduce code size200035
US 6,151,704 AMethod for optimizing a loop in a computer program by speculatively removing loads from within the loop200019
US 6,151,607 ADatabase computer system with application recovery and dependency handling write cache2000112
US 6,247,174 B1Optimization of source code with embedded machine instructions2001113
US 6,272,607 B1Method and apparatus for transactional writing of data into a persistent memory200158
US 6,289,357 B1Method of automatically synchronizing mirrored database objects2001212
US 6,341,285 B1Serial protocol for transaction execution in main-memory database systems200245
US 6,427,154 B1Method of delaying space allocation for parallel copying garbage collection200238
US 2002107879 A1Accurately determining an object's lifetime—51
US 6,457,023 B1Estimation of object lifetime using static analysis200256
US 2002138507 A1Method for reducing write barrier overhead—22
US 6,505,291 B1Processor having a datapath and control logic constituted with basis execution blocks200311
US 2003069905 A1Method and system for concurrent garbage collection—51
US 6,553,392 B1System and method for purging database update image files after completion of associated transactions200385
US 2003084038 A1Transactional memory manager—64
US 6,560,773 B1Method and system for memory leak detection in an object-oriented environment during real-time trace processing2003163
RU 2,206,119 C2Method for producing object code200313
US 2003120873 A1Method and apparatus to maintain consistency between an object store and a plurality of caches utilizing transactional updates to data caches—40
US 6,622,300 B1Dynamic optimization of computer programs using code-rewriting kernal module200397
US 6,658,652 B1Method and system for shadow heap memory leak detection and other heap analysis in an object-oriented environment during real-time trace processing2003321

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.