Deadlock detection in a parallel program
Abstract
A method and system of deadlock detection in a parallel program, the method comprising: recording lock events during the operation of the parallel program and a first order relation among the lock events; converting information relevant to the operation of the parallel program into gate lock events and recording the gate lock events; establishing a second order relation among the gate lock events and lock events associated with the gate lock events and adding the second order relation to the first order relation; constructing a lock graph corresponding to the operation procedure of the parallel program based on the added first order relation; and performing deadlock detection on the constructed lock graph. The deadlock detection method of the invention can improve the accuracy of deadlock detection without depending on the deadlock detection algorithm per se, and can be applied with facility to various development environments and reduce development costs.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 27 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of deadlock detection in a parallel program comprising: recording lock events during operation of the parallel program and a first order relation among the lock events; converting information relevant to the operation of the parallel program into gate lock events and recording the gate lock events, wherein the information relevant to the operation of the parallel program includes at least one of thread relevant information and program logic relevant information; establishing a second order relation among the gate lock events and lock events associated with the gate lock events and add
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (27)
Non-Patent Literature (5)
- Artho et al., "Experiments with Test Case Generation and Runtime Analysis", 2003, Proceedings of the abstract state machines 10th international conference on Advances in theory and practice, Taormina, Italy , pp. 87-108.
- Bensalem et al., "Confirmation of Deadlock Potentials Detected by Runtime Analysis", Otioco, Jul. 2006, Portland Maine, ACM, pp. 1-9.
- Eugster, "Java Virtual Machine with Rollback Procedure allowing Systematic and Exhaustive Testing of Multi-threaded Java programs", Mar. 31, 2003, 175 pages, Formal Methods Group, Computer Science Institute, ETH Zurich.
- Joshi et al., "A Randomized Dynamic Program Analysis Technique for Detecting Real Deadlocks", PLDI'09, Jun. 2009, Dublin Ireland, pp. 1-11.
- K. Havelund, "Using runtime analysis to guide model checking of Java programs," in Proc. SPIN Model Checking Softw. Verification, Standford, CA Aug. 30-Sep. 1, 2000, pp. 245-264.