Rate This Document
Findability
Accuracy
Completeness
Readability

Java Profiler Functions

The tool analyzes and optimizes the performance of Java applications running on Kunpeng servers.

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]

An RPM package is used as an example.

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.
Table 1 Function description

Function

Description

help

Displays help information.

hotspot

Java application hotspot analysis.