Class: sun.management.HotspotRuntime
- class HotspotRuntime
- implements HotspotRuntimeMBean
Implementation class of HotspotRuntimeMBean interface.
Internal, uncommitted management interface for Hotspot runtime
system.
Methods
-
HotspotRuntimetop
HotspotRuntime(VMManagement vm)Constructor of HotspotRuntime class. -
getInternalRuntimeCounterstop
Returns a list of internal counters maintained in the Java virtual machine for the runtime system.- Specified by:
- getInternalRuntimeCounters from HotspotRuntimeMBean
-
getSafepointCounttop
public long getSafepointCount()Returns the number of safepoints taken place since the Java virtual machine started.- Specified by:
- getSafepointCount from HotspotRuntimeMBean
-
getSafepointSyncTimetop
public long getSafepointSyncTime()Returns the accumulated time spent getting to safepoints in milliseconds.- Specified by:
- getSafepointSyncTime from HotspotRuntimeMBean
-
getTotalSafepointTimetop
public long getTotalSafepointTime()Returns the accumulated time spent at safepoints in milliseconds. This is the accumulated elapsed time that the application has been stopped for safepoint operations.- Specified by:
- getTotalSafepointTime from HotspotRuntimeMBean
Fields
-
COM_SUN_PROPERTY
static final private String COM_SUN_PROPERTY = "com.sun.property." -
COM_SUN_RT
static final private String COM_SUN_RT = "com.sun.rt." -
JAVA_PROPERTY
static final private String JAVA_PROPERTY = "java.property." -
JAVA_RT
static final private String JAVA_RT = "java.rt." -
RT_COUNTER_NAME_PATTERN
static final private String RT_COUNTER_NAME_PATTERN = "java.rt.|com.sun.rt.|sun.rt.|java.property.|com.sun.property.|sun.property." -
SUN_PROPERTY
static final private String SUN_PROPERTY = "sun.property." -
SUN_RT
static final private String SUN_RT = "sun.rt." -
jvm
private VMManagement jvm
