Patents
US 8,046,760 B2#10801394 Most CitedExpiredUnited States (USPTO)Utility

Lock contention pinpointing

10Forward Citations (#10801394 Global)
0.7/yrCitation Velocity (#11463078 Global)
1.63Citation PageRank (#20095759 Global)
26Prior Art Cited
2Claims (1 Indep. · 1 Dep.)
0Drawings / Sheets

Abstract

One embodiment disclosed relates to a method of finding lock contention in an application with concurrent threads. Status data is retrieved by periodically sampling status of said threads. The periodically-sampled status data is accumulated, and the lock contention is statistically found from the accumulated status data. The status data may include location information that is usable to pinpoint the lock contention.

Interactive Citation Constellation Global Citation Ranking

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

Claims (2 — 1 Independent, 1 Dependent)

  1. Claim 1Independent Claim

    A method, implemented in a computer, of finding lock contention in a multi-threaded application, the method comprising: retrieving, by the computer, status data by periodically sampling status of a plurality of threads in the multi-threaded application; accumulating the periodically-sampled status data, wherein the status data includes location information; and finding, by the computer, the lock contention based on the accumulated periodically-sampled status data for each of the plurality of threads by calculating a percentage of time said each of the plurality of threads spent waiting on a lo

  2. Claim 2Depends on #1

    The method of claim 1 , wherein the status data further includes a thread state, wherein the method further comprises retrieving location information for a thread only if the status data indicates the thread is in a moni

Technical Overview & Description

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

References Cited — Backward Prior Art (26)

PatentTitleYearCitations
US 5,524,247 ASystem for scheduling programming units to a resource based on status variables indicating a lock or lock-wait state thereof1996104
US 5,940,828 ALocking contention resolution for shared resources199982
US 6,119,115 AMethod and computer program product for reducing lock contention in a multiple instruction execution stream processing environment200047
US 6,223,200 B1System and method for reducing research time through a lock wait matrix200140
US 2001014905 A1Method and apparatus for managing a lock for an object—135
US 6,338,063 B1Method and computer program product for reducing lock contention in a multiple instruction execution stream processing environment200222
US 6,457,142 B1Method and apparatus for target application program supervision2002172
US 6,473,849 B1Implementing locks in a distributed processing system2002146
US 2003005028 A1Method and apparatus for controlling the number of servers in a hierarchical resource environment—88
US 2003065704 A1Flexible acceleration of java thread synchronization on multiprocessor computers—46
US 2003114949 A1Dynamic diagnostic program for determining thread wait time—39
US 6,601,120 B1System, method and computer program product for implementing scalable multi-reader/single-writer locks200342
US 6,735,760 B1Relaxed lock protocol2004105
US 6,751,789 B1Method and system for periodic trace sampling for real-time generation of segments of call stack trees augmented with call stack position determination2004176
US 2004123303 A1System and method for managing memory resources in a shared memory system—9
US 6,785,889 B1System and method for scheduling bandwidth resources using a Kalman estimator with active feedback2004112
US 6,883,020 B1Apparatus and method for filtering downloaded network sites200527
US 2005097294 A1Method and system for page initialization using off-level worker thread—51
US 2005198005 A1Systems and methods for controlling access to an object—2
US 7,051,026 B2System and method for monitoring software locks200627

Non-Patent Literature (4)

  • Bershad et al., "An Open Environment for Building Parallel Programming Systems", ACM, 1998, pp. 1-9.
  • Harkema et al., "Performance Monitoring of Java Applications", WOSP 2002, pp. 114-127.
  • Liang et al., "Comprehensive Profiling Support in the Jave Virtual Machine", USENIX, 1999, pp. 1-13.
  • Viswanathan et al, "Java Virtual Machine Profiler Interface", IBM Systems Journal, vol. 39, 2000, pp. 82-95.