Patents
US 8,595,692 B2#32210725 Most CitedActiveUnited States (USPTO)Utility

Identifying lock granularization opportunities

3Forward Citations (#32210725 Global)
0.2/yrCitation Velocity (#30996199 Global)
1.11Citation PageRank (#36034273 Global)
22Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

Lock granularization opportunities are identified in computer code. A processor is used to generate synchronized code blocks and fields (data) accessed in each code block. Each of the code blocks can then be represented by a set. A list of non-intersecting synchronized code blocks having no commonly accessed fields is generated, and a list of intersecting synchronized code blocks (code blocks each having at least one commonly accessed field) is also generated. Equal and superset-subset lists are then generated from the list of intersecting synchronized code blocks. Granularized locks are applied directly around the fields that are accessed within code blocks represented by non-intersecting and equal sets. Granularized locks are also applied around the fields that are accessed within code blocks represented by the superset, and the same locks are applied to code blocks represented by the subsets, thereof.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A computer implemented method for identifying lock granularization opportunities in computer code, comprising: generating data, with a processor, comprising synchronized code blocks and fields accessed in each code block, wherein each of said code blocks and the fields they access are represented by a set; generating a list with said processor of any non-intersecting synchronized code blocks, wherein said non-intersecting synchronized code blocks have no commonly accessed fields; granularizing locks directly around fields that are accessed within code blocks represented by non-intersecting set

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (22)

PatentTitleYearCitations
US 6,496,909 B1Method for managing concurrent access to virtual memory data structures2002110
US 6,594,683 B1Method, apparatus and computer program product for locking interrelated data structures in a multi-threaded computing environment200336
US 2005198626 A1Method, system and product for identifying and executing locked read regions and locked write regions in programming languages that offer synchronization without explicit means to distinguish between such regions—21
US 7,120,762 B2Concurrent execution of critical sections by eliding ownership of locks200694
US 7,209,918 B2Methods and apparatus for locking objects in a multi-threaded environment200731
US 7,231,498 B2Adaptive granularity refinement in detecting potential data races200713
US 7,246,187 B1Method and apparatus for controlling exclusive access to a shared resource in a data storage system200749
US 2007185872 A1Adaptive region locking—47
US 2008040560 A1Lightweight Single Reader Locks—12
US 2008059471 A1Using Local Locks For Global Synchronization In Multi-Node Systems—10
US 2008276256 A1Method and System for Speeding Up Mutual Exclusion—9
US 7,469,403 B2Static detection of a datarace condition for multithreaded object-oriented applications200822
US 2009044174 A1Dynamic detection of atomic-set-serializability violations—28
US 7,516,313 B2Predicting contention in a processor200910
US 7,516,446 B2Method and apparatus for efficient and precise datarace detection for multithreaded object-oriented programs200971
US 2009125882 A1Method of implementing hyperobjects in a parallel processing software programming environment—69
US 7,549,150 B2Method and system for detecting potential races in multithreaded programs200927
US 7,577,657 B2System and method for updating objects in a multi-threaded computing environment20098
US 2010122253 A1System, method and computer program product for programming a concurrent software application—35
US 2011022893 A1Detecting data race and atomicity violation via typestate-guided static analysis—28
US 8,037,476 B1Address level log-based synchronization of shared data201160
US 8,261,024 B1Address level synchronization of shared data201217

Non-Patent Literature (2)

  • Zhang, Yaun et al.; "Minimum Lock Assignment: A Method for Exploiting Concurrency Among Critical Sections"; Lecture Notes in Computer Science, v 5335 LNCS, pp. 141-155, 2008; Languages and Compilers for Parallel Computing-21st International Workshop, LCPC 2008; Springer Verlag; http://www.cs.ualbert
  • Zhang, Yaun et al.; "Minimum Lock Assignment: A Method for Exploiting Concurrency Among Critical Sections"; Lecture Notes in Computer Science, v 5335 LNCS, pp. 141-155, 2008; Languages and Compilers for Parallel Computing—21st International Workshop, LCPC 2008; Springer Verlag; http://www.cs.ualbert