Patents
US 8,612,929 B2#56029329 Most CitedActiveUnited States (USPTO)Utility

Compiler implementation of lock/unlock using hardware transactional memory

1Forward Citations (#56029329 Global)
0.1/yrCitation Velocity (#49307893 Global)
0.80Citation PageRank (#56029329 Global)
31Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A system and method for automatic efficient parallelization of code combined with hardware transactional memory support. A software application may contain a transaction synchronization region (TSR) utilizing lock and unlock transaction synchronization function calls for a shared region of memory within a shared memory. The TSR is replaced with two portions of code. The first portion comprises hardware transactional memory primitives in place of lock and unlock function calls. Also, the first portion ensures no other transaction is accessing the shared region without disabling existing hardware transactional memory support. The second portion performs a fail routine, which utilizes lock and unlock transaction synchronization primitives in response to an indication that a failure occurs within said first portion.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 31 · Forward citations: 1.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method executable by a processor for parallelizing code using transaction memory comprising: examining one or more program instructions; identifying a transaction synchronization region (TSR) within said program instructions, wherein the TSR accesses a shared region of memory within a shared memory; performing no transformation of the TSR, in response to predicting a transformed TSR will fail during execution; and in response to predicting a transformed TSR will not fail during execution: replacing the TSR with a first portion of code and a second portion of code, wherein the first portion o

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)

References Cited — Backward Prior Art (31)

PatentTitleYearCitations
US 6,651,246 B1Loop allocation for optimizing compilers2003135
US 6,654,954 B1Computer system, program product and method utilizing executable file with alternate program code attached as a file attribute2003119
US 2004049667 A1Method of patching compiled and linked program code comprising instructions which are grouped into bundles—54
US 6,880,045 B2Multi-processor computer system with transactional memory200565
US 2005120059 A1Transactional file system—27
US 6,938,130 B2Method and apparatus for delaying interfering accesses from other threads during transactional program execution200590
US 2006026575 A1Method and system of adaptive dynamic compiler resolution—20
US 2006026580 A1Method and related system of dynamic compiler resolution—20
US 2006294047 A1Method and apparatus for communicating transactions between an industrial controller and a programming interface—44
US 2007050762 A1Build optimizer tool for efficient management of software builds for mobile devices—95
US 2007143741 A1Efficient per-object operations in software transactional memory—92
US 2007169030 A1Compiler support for optimizing decomposed software transactional memory operations—81
US 7,290,056 B1Monitoring latency of a network to manage termination of distributed transactions2007251
US 2008126883 A1Method and apparatus for reporting failure conditions during transactional execution—15
US 7,395,531 B2Framework for efficient code generation using loop peeling for SIMD loop code with multiple misaligned statements200836
US 2008163185 A1Delay-load optimizer—38
US 2008195549 A1Transaction count synchronization in payment system—7
US 7,426,724 B2Optimized chaining of vertex and fragment programs200851
US 2008244544 A1Using hardware checkpoints to support software based speculation—48
US 7,530,069 B2Program parallelizing apparatus, program parallelizing method, and program parallelizing program200932
US 7,543,282 B2Method and apparatus for selectively executing different executable code versions which are optimized in different ways200942
US 2009217253 A1Compiler framework for speculative automatic parallelization with transactional memory—17
US 2009276758 A1Static profitability control for speculative automatic parallelization—12
US 2009288075 A1Parallelizing non-countable loops with hardware transactional memory—75
US 7,818,729 B1Automated safe secure techniques for eliminating undefined behavior in computer software2010107
US 7,853,934 B2Hot-swapping a dynamic code generator201026
US 2011197029 A1Hardware acceleration of a write-buffering software transactional memory—5
US 2011276611 A1Transactional File System—23
US 2012016853 A1Efficient and consistent software transactional memory—5

Non-Patent Literature (5)

  • "ACME: Adaptive Compilation Made Efficient", Cooper, et al., Jul. 2005, pp. 69-77, http://delivery.acm.org/10.1145/1070000/1065921/p69-cooper.pdf.
  • "Compiler Optimization of Embedded Applications for an Adaptive SoC Architecture", Hardnett, et al., Oct. 2006, pp. 312-322, http://delivery.acm.org/10.1145/1180000/1176798/p312-hardnett.pdf.
  • "Design and Evaluation of Dynamic Optimizations for a Java Just-in-Time Compiler", Suganuma, et al., Jul. 2005, pp. 732-785, http://delivery.acm.org/10.1145/1080000/1075386/p732-suganuma.pdf.
  • "Dynamic Code Management: Improving Whole Program Code Locality in Managed Runtimes", Huang, et al., Jun. 2006, pp. 133-143, http://delivery.acm.org/10.1145/1140000/1134779/p133-huang.pdf.
  • Damron, P., et al; "Hybrid Transactional Memory"; ASPLOS XII; San Jose, CA (2006); http://www.princeton.edu/~asplos06/tprogram.html.