Thread Dump Analyzer

🌐Community
by jeremylongshore · vlatest · Repository

Analyzes Java thread dumps to pinpoint performance bottlenecks and diagnose application issues quickly for faster troubleshooting.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add thread-dump-analyzer npx -- -y @trustedskills/thread-dump-analyzer
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "thread-dump-analyzer": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/thread-dump-analyzer"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

The thread-dump-analyzer skill analyzes Java thread dump files to identify performance bottlenecks and potential issues. It can parse the raw data, extract information about threads' states (e.g., RUNNABLE, BLOCKED), stack traces, and lock contention. The analysis helps developers understand what a Java application was doing at a specific point in time and pinpoint areas for optimization.

When to use it

  • Debugging performance problems: Use when an application is slow or unresponsive and you need to investigate the root cause.
  • Identifying deadlocks: Analyze thread dumps to detect threads that are blocked indefinitely, waiting for each other.
  • Analyzing lock contention: Determine which locks are causing delays and impacting overall application throughput.
  • Understanding resource utilization: Gain insights into how resources (CPU, memory) are being used by different threads.

Key capabilities

  • Parses Java thread dump files.
  • Identifies thread states.
  • Extracts stack traces for each thread.
  • Detects lock contention and blocking threads.

Example prompts

  • "Analyze this thread dump file and tell me which threads are blocked."
  • "What is the longest running task in this thread dump?"
  • "Show me the stack trace of the thread with the highest CPU usage from this thread dump."

Tips & gotchas

  • Thread dumps should be generated when the application is experiencing performance issues. Ensure you have a valid, complete thread dump file for accurate analysis.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
jeremylongshore
Installs
10

🌐 Community

Passed automated security scans.