8661450

Deadlock Detection for Parallel Programs

PublishedFebruary 25, 2014
Assigneenot available in USPTO data we have
Technical Abstract

Patent Claims
7 claims

Legal claims defining the scope of protection, as filed with the USPTO.

1

1. A computer implemented method for deadlock detection of parallel programs, comprising: identifying a set of locations where the lock of the parallel programs may be finally used in the running procedure of the parallel programs; adding marks in the vicinity of locations that the lock of the parallel programs may be finally used, wherein the marks are used to trigger, in the running procedure of the parallel programs, event notifications that the lock of the parallel programs may no longer be used; in response to receiving all event notifications that the lock of the parallel programs may no longer be used as triggered by the marks, determining, by the computer, that a lock of the parallel programs is no longer used in a running procedure of the parallel programs; deleting, by the computer, a node corresponding to the lock that is no longer used, and edges relating to the lock that is no longer used, from a lock graph corresponding to the running procedure of the parallel programs to acquire an updated lock graph, wherein the lock graph is constructed according to lock operations of the parallel programs; and performing deadlock detection on the updated lock graph by the computer.

2

2. The computer implemented method according to claim 1 , wherein determining that a lock of the parallel programs is no longer used in the running procedure of the parallel programs further comprising: in response to receiving an event notification that a lock of the parallel programs is no longer used, determining that a lock of the parallel programs is no longer used.

3

3. The computer implemented method according to claim 2 , wherein determining a lock of the parallel programs is no longer used in the running procedure of the parallel programs further comprising: analyzing a lifecycle of the lock of the parallel programs by scanning code of the parallel programs.

4

4. The computer implemented method according to claim 3 , wherein analyzing the lifecycle of the lock of the parallel programs further comprising: in response to detecting that there is a function call in the parallel programs that destroys a lock, identifying a location where the lock of the parallel programs is finally used in the running procedure of the parallel programs.

5

5. The computer implemented method according to claim 4 , further comprising: adding marks in the vicinity of the location where the lock of the parallel programs is finally used, wherein the marks are used to trigger, in the running procedure of the parallel programs, event notifications that the lock of the parallel programs is no longer used.

6

6. The computer implemented method according to claim 1 , wherein identifying the set of locations where the lock of the parallel programs may be finally used in the running procedure of the parallel programs further comprising: in response to detecting that there is no function call in the parallel programs that destroys a lock, analyzing a data stream of the parallel programs, determining a location where the lock of the parallel programs is defined and used in order to identify the set of locations where the lock of the parallel programs may be finally used in the running procedure of the parallel programs.

7

7. The computer implemented method according to claim 1 , wherein determining that the lock of the parallel programs is no longer used in the running procedure of the parallel programs further comprising: in response to detecting that the lock of the parallel programs is reclaimed by a garbage collection process in the running procedure of the parallel programs, identifying that the lock of the parallel programs is no longer used.

Patent Metadata

Filing Date

Unknown

Publication Date

February 25, 2014

Inventors

Zhi DA Luo
Yao Qi
Yong Zheng

Want to explore more patents?

Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.

Citation & reuse

Analysis on this page is generated by Patentable — an AI-powered patent intelligence platform. AI-generated summaries, explanations, and analysis may be reused with attribution and a visible link back to the canonical URL below. Patent abstracts and claims are USPTO public domain.

Cite as: Patentable. “DEADLOCK DETECTION FOR PARALLEL PROGRAMS” (8661450). https://patentable.app/patents/8661450

© 2026 Patentable. All rights reserved.

Patentable is a research and drafting-assistant tool, not a law firm, and does not provide legal advice. Documents we generate are drafts for review by a licensed patent attorney.