Javaperf

•
10
•

Empowers AI assistants to diagnose Java application performance, analyze threads, and inspect JFR recordings using integrated JDK utilities.

Javaperf operates as a Model Context Protocol (MCP) server, seamlessly connecting AI assistants with essential JDK utilities such as jcmd, jfr, and jps. This tool enables AI to interact directly with running Java applications, facilitating automated performance diagnosis, detailed thread analysis, and in-depth inspection of JFR recordings and heap dumps. By abstracting manual command-line execution, Javaperf streamlines the process of identifying performance bottlenecks, analyzing memory usage, and debugging critical issues within Java environments, enhancing the capabilities of AI-powered development tools.

主要功能

01Analyze JFR recordings to generate summaries, CPU, memory, and call frequency profiles.
02Perform Java thread dumps, check for deadlocks, and generate heap histograms and dumps.
035 GitHub stars
04Integrate effortlessly with AI assistants and IDEs (e.g., Cursor, Claude Desktop, Continue.dev) via MCP configuration.
05Start, manage, and stop Java Flight Recordings (JFR) with custom settings.
06List and inspect running Java processes by PID.

使用案例

01Streamlined inspection and profiling of JFR recordings and heap dumps without manual CLI interaction.
02AI-driven analysis of Java thread behavior, including deadlock detection.
03Automated diagnosis and resolution of Java application performance bottlenecks.