Patent · US Active

Method and system for detecting program deadlock

US8972999B2 · kind B2 · utility

1Cited by
0References
9Claims
0Family size

Assignee

Inventors

Key dates

Filing dateJun 11, 2013
Grant dateMar 3, 2015
Priority date
Expiry dateJul 18, 2033

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F9/524
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

The present invention relates to a technology for deadlock detection in a program, and more particularly relates to a technology for detecting deadlock in a program through lock graph analysis. The present invention provides a method for detecting deadlock, comprising: obtaining lock information related to locking operation in a program; generating a first lock graph based on the obtained lock information, wherein each node in the first lock graph comprises a set of locks comprising at least one lock and a set of program locations comprising at least one lock location; extracting a strongly connected sub graph in the first lock graph; unfolding the strongly connected sub graph in the first lock graph to generate a second lock graph, wherein each node in the second lock graph comprises a single lock; and extracting a strongly connected sub graph in the second lock graph, the strongly connected sub graph in the second lock graph indicating a deadlock in the program.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.