Automated hang detection in Java thread dumps
First Claim
Patent Images
1. A system for analyzing thread deadlocks in a Java virtual machine, comprising:
- a thread analyzer tool, wherein the tool analyzes a thread dump to automatically identify thread deadlocks, wherein the tool identifies threads that are in a self wait condition and threads that are in a circular wait condition; and
a user interface that allows a user to specify criteria, wherein the tool excludes threads that do not meet the criteria from being identified on the user interface as deadlocked threads even though the threads were identified as being deadlocked threads pursuant to the thread dump analysis.
1 Assignment
0 Petitions
Accused Products
Abstract
A system and method for analyzing Java thread deadlocks. A snapshot of threads in a Java Virtual Machine is generated, producing a thread dump file which can be analyzed offline. The thread dump file is optimistically parsed to identify threads which are deadlocked. A user is provided with an interface to select filtering rules for the threads, resulting in a set of filtered threads which are candidates for being in infinite wait conditions.
-
Citations
8 Claims
-
1. A system for analyzing thread deadlocks in a Java virtual machine, comprising:
-
a thread analyzer tool, wherein the tool analyzes a thread dump to automatically identify thread deadlocks, wherein the tool identifies threads that are in a self wait condition and threads that are in a circular wait condition; and a user interface that allows a user to specify criteria, wherein the tool excludes threads that do not meet the criteria from being identified on the user interface as deadlocked threads even though the threads were identified as being deadlocked threads pursuant to the thread dump analysis. - View Dependent Claims (2, 3)
-
-
4. A method of analyzing thread deadlocks in a Java virtual machine, comprising the steps of:
-
obtaining a thread dump of a Java virtual machine; analyzing the thread dump to automatically identify threads in a deadlock condition, wherein threads in a circular wait condition and threads in a self wait condition are identified; and receiving, by a user interface, user specified criteria from a user, wherein identified deadlock threads that do not meet the criteria are filtered such that they are not presented to the user by the user interface even though the threads that do not meet the criteria were identified as being deadlocked threads pursuant to the thread dump analysis. - View Dependent Claims (5, 6, 7, 8)
-
Specification