Java Profiling Workflow / Step 1 / Collect data to measure potential issues
Java性能分析工作流 / 步骤1 / 收集数据以排查潜在问题
Set up the Java profiling detection phase: automated environment setup with async-profiler v4.0, problem-driven interactive profiling scripts, and comprehensive data collection for CPU hotspots, memory leaks, lock contention, GC issues, and I/O bottlenecks. Uses JEP 518 (Cooperative Sampling) and JEP 520 (Method Timing) for reduced overhead.
What is covered in this Skill?
Run application with profiling JVM flags (run-java-process-for-profiling.sh)
Copy bash scripts exactly from templates. Ensure JVM flags are applied for profiling compatibility. Verify Java processes are running before attaching profiler.
CRITICAL: Copy the bash script templates exactly — do not modify, interpret, or enhance