System Architecture & Data Flow
JFR Performance Lab unites three distinct technical ecosystems:
- JVM Runtime Diagnostics (Java Flight Recorder in OpenJDK)
- Visual Desktop Inspection (JDK Mission Control)
- AI Reasoning & Automation (Model Context Protocol & AI IDEs)
1. End-to-End System Architecture
This diagram shows how telemetry flows from the running application through the binary flight recorder, across the three-layer MCP engine, and into the AI assistant:
2. Developer Investigation Workflow: From Symptom to Validated Fix
This diagram illustrates the complete diagnostic loop executed by a developer when troubleshooting a production degradation:
3. Decoupled Three-Layer MCP Server Design
The jfr-performance-mcp server adheres strictly to hexagonal separation:
Architectural Key Properties:
- Engine Purity: Layer 1 knows nothing about MCP, JSON-RPC, or AI prompt semantics. It can be embedded in any CLI or web backend.
- Fact Model Immutability: Layer 2 guarantees that raw measurements are preserved intact without subjective alteration.
- Protocol Safety: Layer 3 ensures standard output carries only valid JSON-RPC frames, eliminating communication desync.