The profiled application and the profiler can run on the same machine or on different machines.
To profile a Java application, be it local or remote, the profiler agent should be loaded into the JVM.
This approach is recommended as it provides the full set of profiling capabilities. To learn how to apply it, see appropriate subtopic:
Attaching the profiler agent to a running JVM instance simplifies profiling, as it avoids a special step to enable profiling: any running Java application can be profiled on demand.
However, attaching to a running JVM is not always possible, and some profiling features are not available.
Read more about attach.
Supported Java versions: Java 7, Java 8, Java 9, Java 10, Java 11, Java 12, Java 13, Java 14.
Linux, 32-bit Java and 64-bit Java:
32-bit Java (x86) and 64-bit Java (x86-64):