public interface ClassLoadingMXBean extends PlatformManagedObject
Precisely one instance of this interface will be made available to management clients.
Accessing this MXBean
can be done in one of three ways.
ManagementFactory.newPlatformMXBeanProxy(MBeanServerConnection connection,
String mxbeanName, Class<T> mxbeanInterface())
method, passing in
"java.lang:type=ClassLoading" for the value of the mxbeanName
parameter.Modifier and Type | Method and Description |
---|---|
int |
getLoadedClassCount()
Returns the number of classes currently loaded by the virtual machine.
|
long |
getTotalLoadedClassCount()
Returns a figure for the total number of classes that have been
loaded by the virtual machine during its lifetime.
|
long |
getUnloadedClassCount()
Returns a figure for the total number of classes that have
been unloaded by the virtual machine over its lifetime.
|
boolean |
isVerbose()
Returns a boolean indication of whether the virtual
machine's class loading system is producing verbose output.
|
void |
setVerbose(boolean value)
Updates the virtual machine's class loading system to
operate in verbose or non-verbose mode.
|
getObjectName
int getLoadedClassCount()
long getTotalLoadedClassCount()
long getUnloadedClassCount()
boolean isVerbose()
void setVerbose(boolean value)
value
- true to put the class loading system into verbose
mode, false to take the class loading system out of verbose mode.Eclipse OpenJ9 website.
To raise a bug report or suggest an improvement create an Eclipse OpenJ9 issue.
Copyright © 1993, 2025 IBM Corp. and others.