APIdia Launch Partner
Top Description Fields Constructors Methods
sun.management

pack-priv Class HotspotRuntime

extends Object
implements HotspotRuntimeMBean
Class Inheritance
All Implemented Interfaces
sun.management.HotspotRuntimeMBean
Imports
java.util.List, .ArrayList, sun.management.counter.Counter

Implementation class of HotspotRuntimeMBean interface. Internal, uncommitted management interface for Hotspot runtime system.

Field Summary

Modifier and TypeField and Description
private static final String
private static final String
private static final String
private static final String
private VMManagement
private static final String
private static final String
private static final String

Constructor Summary

AccessConstructor and Description
pack-priv
HotspotRuntime(VMManagement vm)

Constructor of HotspotRuntime class.

Method Summary

Modifier and TypeMethod and Description
public List<Counter>
getInternalRuntimeCounters()

Implements sun.management.HotspotRuntimeMBean.getInternalRuntimeCounters.

Returns a list of internal counters maintained in the Java virtual machine for the runtime system.

public long
getSafepointCount()

Implements sun.management.HotspotRuntimeMBean.getSafepointCount.

Returns the number of safepoints taken place since the Java virtual machine started.

public long
getSafepointSyncTime()

Implements sun.management.HotspotRuntimeMBean.getSafepointSyncTime.

Returns the accumulated time spent getting to safepoints in milliseconds.

public long
getTotalSafepointTime()

Implements sun.management.HotspotRuntimeMBean.getTotalSafepointTime.

Returns the accumulated time spent at safepoints in milliseconds.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

COM_SUN_PROPERTYback to summary
private static final String COM_SUN_PROPERTY
COM_SUN_RTback to summary
private static final String COM_SUN_RT
JAVA_PROPERTYback to summary
private static final String JAVA_PROPERTY
JAVA_RTback to summary
private static final String JAVA_RT
jvmback to summary
private VMManagement jvm
RT_COUNTER_NAME_PATTERNback to summary
private static final String RT_COUNTER_NAME_PATTERN
SUN_PROPERTYback to summary
private static final String SUN_PROPERTY
SUN_RTback to summary
private static final String SUN_RT

Constructor Detail

HotspotRuntimeback to summary
pack-priv HotspotRuntime(VMManagement vm)

Constructor of HotspotRuntime class.

Method Detail

getInternalRuntimeCountersback to summary
public List<Counter> getInternalRuntimeCounters()

Implements sun.management.HotspotRuntimeMBean.getInternalRuntimeCounters.

Doc from sun.management.HotspotRuntimeMBean.getInternalRuntimeCounters.

Returns a list of internal counters maintained in the Java virtual machine for the runtime system.

getSafepointCountback to summary
public long getSafepointCount()

Implements sun.management.HotspotRuntimeMBean.getSafepointCount.

Doc from sun.management.HotspotRuntimeMBean.getSafepointCount.

Returns the number of safepoints taken place since the Java virtual machine started.

getSafepointSyncTimeback to summary
public long getSafepointSyncTime()

Implements sun.management.HotspotRuntimeMBean.getSafepointSyncTime.

Doc from sun.management.HotspotRuntimeMBean.getSafepointSyncTime.

Returns the accumulated time spent getting to safepoints in milliseconds.

getTotalSafepointTimeback to summary
public long getTotalSafepointTime()

Implements sun.management.HotspotRuntimeMBean.getTotalSafepointTime.

Doc from sun.management.HotspotRuntimeMBean.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.