Using AI thread dump analysis
A thread dump is vital data showing which threads are waiting on what inside the application. However, reading through hundreds of thread states to diagnose lock contention or blocking is heavy work even for experienced developers. WhaTap's AI thread dump analysis automates this so that operators without thread analysis experience can immediately identify problem threads and see improvement directions.
Prerequisites
- Project member or higher permission
- The target instance is actively collecting data (visible on Instance Performance Management)
How to use it
Path: Instance Performance Management > Thread list & dump > Thread dump button at the top right
- Select the target application.
- Click the Thread dump button to view the thread dump at that point in time.
- Click the Thread analysis button at the top of the dump.
- AI analysis starts (a few to tens of seconds).
- When analysis completes, the four-section result appears automatically in the drawer.
Managing analysis credits
- The top-bar Refresh button re-requests the analysis, which consumes a credit.
- For a thread dump that has already been analyzed, clicking Thread analysis again does not consume a credit. The previous result is shown in the drawer as is.
Analysis result structure
AI analyzes the collected thread dump and presents the result in four sections.
| Section | Contents |
|---|---|
| Overall summary | Summary of the thread dump and total thread count analyzed |
| Thread state distribution | Per-state thread status such as RUNNABLE, BLOCKED, and WAITING |
| Detected issues | Lock contention, blocking, and wait issues that may impact performance |
| Recommendations | Suggested actions and recommended values for performance improvement |
When to use it
During incident response (most useful)
Shorten thread dump interpretation time in step ③ Root cause analysis of the Incident response scenario.
- Select the suspect instance in Instance Performance Management.
- Select Thread list & dump, then click the Thread dump button.
- Click the Thread analysis button at the top of the thread dump.
- Start from the Detected issues AI surfaces, then drill down to the original thread.
Right after a release
When response time spikes or threads pile up after deployment, capture a dump and run AI analysis to quickly distinguish whether the regression is lock contention or external resource wait.
Periodic performance tuning
Collect dumps during normal operation and scan with AI to surface latent blocking and wait patterns humans miss, then feed them into the improvement backlog.
Understand the limits of AI analysis
AI output is a first hypothesis, not the final conclusion. Use it this way:
- For issues AI surfaces, cross-check against the original thread dump before acting.
- Business context (recent deploys, external resource outages) is not visible to AI — combine with timeline info when interpreting.
- Repeated analysis may not be fully consistent (LLM nature) — validate with observable metrics (thread count, response time).
Adjacent AI analysis features
| Feature | When |
|---|---|
| AI active stack analysis | Identify bottlenecks in a transaction trace — AI active stack analysis |
| AI thread dump analysis (this guide) | Interpret thread blocking and lock contention in an instance |
| AI SQL tuning guide | Identify inefficient queries and get execution-plan based improvements — complements DB realtime visibility |
| AI browser error stack analysis | Code-level cause for frontend errors — complements RUM |
| WhaTap AI Chatbot / MCP | Natural-language queries across WhaTap data — MCP integration |
Next steps
- Deeper thread analysis → Instance Performance Management
- Fold into incident response → Incident response scenario
- Combine with traces → AI active stack analysis