spring-jfr

Community

Production-safe JVM profiling with JFR

Authorzenobiuszeto
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Provides safe, low-overhead production profiling for Java 21 Spring Boot services so engineers can diagnose CPU hotspots, allocation pressure, GC behavior, lock contention, and virtual-thread pinning without causing significant additional load or lengthy downtime.

Core Features & Use Cases

  • Continuous Production Recording: Configure always-on JFR continuous recordings with ring buffers and dumponexit to capture crash and incident data.
  • Targeted Deep Dives: Start/stop profile recordings via jcmd or RecordingStream for high-detail captures and use Async Profiler for precise CPU and allocation flamegraphs.
  • Programmatic Monitoring & Custom Events: Emit custom JFR events and stream them in real time for anomaly detection, slow-method alerts, and contention logging within Spring Boot.
  • Kubernetes & Forensic Workflows: Safe pod-level commands to trigger recordings, copy artifacts out for JMC analysis, and recommended actuator/heapdump policies for restricted access.

Quick Start

Start a 2-minute profile on the running BankingPlatform JVM, dump the recording to /tmp/profile.jfr, and provide a short summary of top CPU hotspots, lock contention, and significant GC events.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: spring-jfr
Download link: https://github.com/zenobiuszeto/banking-strawman-capabilities/archive/main.zip#spring-jfr

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.