analyze_thread_dump
Parse JVM thread dumps to analyze thread states, detect deadlocks, identify lock contention, and find thread starvation patterns.
Instructions
Parse a JVM thread dump (jstack output) and analyze thread states, detect deadlocks, identify lock contention hotspots, and find thread starvation patterns. Handles both platform threads and virtual threads (Java 21+). Note: deadlock detection covers synchronized monitor locks only — java.util.concurrent.locks.ReentrantLock and other j.u.c lock types do not expose their waiters in thread dump lock info and will not be detected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thread_dump | Yes | The full thread dump text (from jstack, kill -3, or VisualVM) |