Method and system for detecting potential deadlocks in computer programs
Abstract
A system and method for detecting potential deadlocks during the run-time execution of a multithreaded computer program. Requests for access to shared resources are tracked and evaluated to determine whether a present request could prove cyclical with a previous set of requests. As each request is made, the identity of any previously requested and unreleased resources is recorded in a data element associated with the currently requested resource. Data elements associated with the previously requested and unreleased resources are read to assess whether they identify the currently requested resource in previously executed lock sequences, thereby indicating a potential cycle and, thus, a deadlock. In an embodiment related to locking of mutually exclusive resources, a request is a request to lock the resource, and the resource is released by unlocking.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 1 · Forward citations: 3.
Claims (0)
No claim text indexed for this record.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (3 of 3 total)
References Cited — Backward Prior Art (1)
| Patent | Title | Year | Citations |
|---|---|---|---|
| EP 0,864,975 A2 | Detecting concurrency errors in multi-threaded programs | — | 4 |
Non-Patent Literature (1)
- GADE K: "Portable Data Race and Deadlock Detector", 6 July 2004 (2004-07-06), XP002287577, Retrieved from the Internet <URL:www.scs.cs.nyu.edu/G22.3250/proj/datarace.ps> [retrieved on 20040706]