Meituan Technology Team
Oct 10, 2019 · Backend Development
Implementation Principles of JVM CPU Profiler and Dynamic Attach Mechanism
The article explains how JVM CPU profilers work by using Java or native agents—via JVMTI, JMX, or the AsyncGetCallTrace hack—to sample or instrument stack traces, generate flame graphs, and employ the HotSpot Attach API for live, zero‑restart agent loading and diagnostics.
CPU ProfilerJVMJVMTI
0 likes · 30 min read
