Guide and technical reference
How to use
The local parser splits thread headers, reads state lines and at-frames, and treats each parsed thread stack as one sample.
- Load the synthetic example or paste a sanitized dump.
- Review thread count, state totals, and sample count.
- Compare several dumps before drawing a performance conclusion.
Examples
- Input
thread-dump-minimal.txt- Output
2 threads; RUNNABLE 1; WAITING 1; samples 2
The downloadable fixture contains synthetic names only.
- Input
one header without frames- Output
thread counted; no sampled frames
A thread can lack a useful stack.
- Input
plain text- Output
0 parsed threads
Text without a Java thread header is not a dump.
Understanding the result
State counts describe a snapshot.
Graph width represents sample count, not elapsed CPU time.
Common errors and limitations
- A single RUNNABLE thread does not prove high CPU use.
- The tool does not automatically prove deadlock.
- Dumps can contain sensitive class names, SQL, or arguments; parsing is local.
Frequently asked questions
- Is this a CPU flame graph?
- No. It is a sampled-stack view of thread-dump snapshots.
- How many dumps should I collect?
- Several dumps a few seconds apart are more useful than one.