Analyzer java-class-unload
Name
java-class-unload - Java Class Unloading
This analyzer shows whether HotSpot actually reclaimed classes and class-loader metadata. It produces bar charts for unload events, reclaimed class loaders, callbacks whose class names were readable, and the most frequently observed unloaded class names. These are cleanup signals: they indicate that old class-loader state was reclaimed, rather than merely that new classes were loaded.
Resource Category
Memory.
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-class-unload -p PID
# trace a shell command directly
orxray analyzer run java-class-unload -c SHELL_CMD
# PGID is the process group ID or any process's PID within the target process
# group.
orxray analyzer run java-class-unload -p -PGID
# trace any processes started from the specified executable path.
orxray analyzer run java-class-unload --exe /path/to/exe/file
Tracing Multiple Processes
Supported.
Output Formats
- Bar Charts
- Plain Texts
Author
The OpenResty Inc. Team.
Copyright
Copyright (C) by OpenResty Inc. All rights reserved.