APIdia Launch Partner
Top Description Methods
sun.management

public Interface HotspotRuntimeMBean

Known Direct Implementers
sun.management.HotspotRuntime
Imports
sun.management.counter.Counter

Hotspot internal management interface for the runtime system. This management interface is internal and uncommitted and subject to change without notice.

Method Summary

Modifier and TypeMethod and Description
public List<Counter>

Returns:

a List of internal counters maintained in the VM for the runtime system.
getInternalRuntimeCounters
()

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

public long

Returns:

the number of safepoints taken place since the Java virtual machine started.
getSafepointCount
()

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

public long

Returns:

the accumulated time spent getting to safepoints in milliseconds.
getSafepointSyncTime
()

Returns the accumulated time spent getting to safepoints in milliseconds.

public long

Returns:

the accumulated time spent at safepoints in milliseconds.
getTotalSafepointTime
()

Returns the accumulated time spent at safepoints in milliseconds.

Method Detail

getInternalRuntimeCountersback to summary
public List<Counter> getInternalRuntimeCounters()

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

Returns:List<Counter>

a List of internal counters maintained in the VM for the runtime system.

getSafepointCountback to summary
public long getSafepointCount()

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

Returns:long

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

getSafepointSyncTimeback to summary
public long getSafepointSyncTime()

Returns the accumulated time spent getting to safepoints in milliseconds.

Returns:long

the accumulated time spent getting to safepoints in milliseconds.

getTotalSafepointTimeback to summary
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.

Returns:long

the accumulated time spent at safepoints in milliseconds.