Analyzer java-jit-compile
Name
java-jit-compile - Java JIT Compilation
This analyzer watches HotSpot compiler tasks as they enter the JIT compilation queue and as compiler threads start and finish them. It always reports queued and started task counts; when matching JVM debug information exposes the corresponding private fields, it also reports successful, failed, C1, C2, OSR, and regular compilation counts. A bar chart lists frequently compiled methods, while separate histograms show time waiting in the compiler queue and time spent compiling. In simple terms, it shows how the JVM turns frequently used bytecode into optimized machine code during startup and warmup.
Resource Category
Latency.
Application Type & Technical Stack
- Java
Command Line Syntax
The analyzer can be invoked directly on the command-line via the orxray
utility from the openresty-xray-cli software package.
Alternatively, the analyzer can also be invoked manually or automatically on the web console UI of OpenResty XRay (like on the Advanced web page).
# PID is the target process PID.
orxray analyzer run java-jit-compile -p PID
# trace a shell command directly
orxray analyzer run java-jit-compile -c SHELL_CMD
# PGID is the process group ID or any process's PID within the target process
# group.
orxray analyzer run java-jit-compile -p -PGID
# trace any processes started from the specified executable path.
orxray analyzer run java-jit-compile --exe /path/to/exe/file
Tracing Multiple Processes
Supported.
Output Formats
- Bar Charts
- Histogram Bar Charts
- Plain Texts
Author
The OpenResty Inc. Team.
Copyright
Copyright (C) by OpenResty Inc. All rights reserved.