check_deadlock
Identifies Java-level deadlocks in a specified process by parsing thread dumps and returning structured JSON detailing threads, locks, and the deadlock cycle for automated analysis.
Instructions
Checks for Java-level deadlocks in the specified process. Parses jcmd Thread.print output and returns structured JSON: which threads are involved, what locks they hold/wait for, and the deadlock cycle. Use for automated analysis and reports.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | Process ID of the Java application. Get this from list_java_processes. |