Lock contention pinpointing
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)
- 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
- 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 ↗
Cited By — Indexed Forward Citations (10 of 10 total)
References Cited — Backward Prior Art (26)
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.