Java Profiler Functions
The tool analyzes and optimizes the performance of Java applications running on Kunpeng servers.
Prerequisites
- The Java Profiler has been installed. See Installing the Tool.
- If you have installed the tool using a compressed package, decompress the package and switch to the tool directory. Then run the command in ./ mode, for example, ./devkit java-perf -h. If you have installed the tool using an RPM package, run devkit java-perf -h. This section uses an RPM package as an example.
Command Function
Collects statistics on hotspot methods in the current JVM and displays the statistics in flame graphs and inverted flame graphs.
Syntax
1 | devkit java-perf [-h | --help] TASK [ARGS] |
Example
View the information about Java performance analysis functions:
1 | devkit java-perf -h |
Command output:
1 2 3 4 5 6 7 | Usage: devkit java-perf [-h | --help] TASK [ARGS] The most commonly used devkit java sub tasks are: help Get help information hotspot Run the hotspot collection and analysis task See 'devkit java-perf TASK --help' for more information on a specific task. |
Function |
Description |
|---|---|
help |
Displays help information. |
hotspot |
Java application hotspot analysis. |
Parent topic: Java Profiler