jvm-performance

Diagnose JVM performance bottlenecks by analyzing GC behavior, heap usage, and runtime metrics.

1|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/iceflower/agent-skills --skill jvm-performance
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: jvm-performance
Source: https://github.com/iceflower/agent-skills/tree/main/jvm-performance
Command: npx skills add https://github.com/iceflower/agent-skills --skill jvm-performance

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Diagnosing and optimizing Java applications by tuning JVM parameters, selecting appropriate garbage collectors, and analyzing memory and runtime behavior to reduce latency and improve throughput.

Core Features & Use Cases

  • GC & JVM Tuning: Guidance on GC algorithms, heap sizing, and flag selection for common workloads.
  • Profiling & Analysis: Techniques and tools for heap, CPU, and memory profiling, including JFR, JMH, and async-profiler.
  • Cloud-Native & Observability: Best practices for containerized JVMs, startup optimization, and observability integration.

Quick Start

Run a baseline diagnostic on the target JVM and begin tuning the most impactful flags.

Frequently Asked Questions about jvm-performance

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I identify and fix JVM performance bottlenecks?

To identify JVM performance bottlenecks, analyze garbage collection behavior, heap usage, and runtime metrics to pinpoint latency issues and apply tuning strategies to improve throughput.

What is the best way to choose a garbage collector for my Java application?

Choosing a garbage collector depends on selecting appropriate GC algorithms based on your specific workloads, covering common tuning needs from heap sizing to flag selection for optimal memory management.

How do I profile memory and CPU usage in a Java application?

Profile memory and CPU usage by applying techniques and tools like JFR, JMH, and async-profiler to perform heap and CPU profiling, analyzing runtime behavior to locate performance issues.

Does JVM tuning work for containerized cloud-native environments?

JVM tuning works for containerized cloud-native environments by applying best practices for containerized JVMs, integrating observability, and optimizing startup performance for services and background workers.

How do I optimize JVM startup time for background workers?

Optimize JVM startup time by applying startup optimization techniques and runtime tuning designed for services and background workers, reducing initialization overhead while maintaining observability integration.