irockel/tda

TDA - Thread Dump Analyzer (for Java). Analyze your Thread Dumps with a GUI or use it as MCP Server.

What it solves

TDA (Thread Dump Analyzer) helps Java developers diagnose performance bottlenecks, deadlocks, and memory issues by providing a structured way to analyze Java VM thread dumps and heap information. It replaces the need to manually read raw, complex stack traces from log files.

How it works

TDA parses textual or JSON-based thread dumps and organizes them into an intuitive tree structure. It can be used as a standalone GUI application, a plugin for VisualVM or JConsole, or as a headless MCP server. In MCP mode, it exposes a set of tools (like check_deadlocks and find_long_running) that allow AI agents to programmatically analyze logs without reading the entire raw file.

Who it’s for

Java developers and system administrators who need to debug production issues, analyze virtual thread pinning, or identify hung threads in Java applications (supporting versions from 1.4.x to 21+).

Highlights

  • AI Integration: Implements the Model Context Protocol (MCP) for headless analysis via AI tools like Cursor or Claude Desktop.
  • Virtual Thread Support: Specialized detection for virtual thread pinning and carrier thread relationships (Java 19+).
  • Deadlock Detection: Automatically identifies deadlocks with detailed monitor information.
  • Multi-mode Deployment: Available as a standalone JAR, a VisualVM plugin, a JConsole plugin, or a native macOS binary.
  • Long-Running Thread Detection: Compares consecutive dumps to find threads that persist across multiple snapshots.

Related

  • Project
  • Project
  • Dispatch
  • Project
  • Project