APIdia Launch Partner
Top Description Fields Constructors Methods
sun.management

pack-priv Class HotspotThread

extends Object
implements HotspotThreadMBean
Class Inheritance
All Implemented Interfaces
sun.management.HotspotThreadMBean
Imports
java.util.Map, .HashMap, sun.management.counter.Counter

Implementation class of HotspotThreadMBean interface. Internal, uncommitted management interface for Hotspot threading system.

Field Summary

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

Constructor Summary

AccessConstructor and Description
pack-priv
HotspotThread(VMManagement vm)

Constructor of HotspotThread class.

Method Summary

Modifier and TypeMethod and Description
public native int
getInternalThreadCount()

Implements sun.management.HotspotThreadMBean.getInternalThreadCount.

Returns the current number of VM internal threads.

public Map<String, Long>
getInternalThreadCpuTimes()

Implements sun.management.HotspotThreadMBean.getInternalThreadCpuTimes.

Returns a Map of the name of all VM internal threads to the thread CPU time in nanoseconds.

public List<Counter>
getInternalThreadingCounters()

Implements sun.management.HotspotThreadMBean.getInternalThreadingCounters.

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

public native int
getInternalThreadTimes0(String[] names, long[] times)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

COM_SUN_THREADSback to summary
private static final String COM_SUN_THREADS
JAVA_THREADSback to summary
private static final String JAVA_THREADS
jvmback to summary
private VMManagement jvm
SUN_THREADSback to summary
private static final String SUN_THREADS
THREADS_COUNTER_NAME_PATTERNback to summary
private static final String THREADS_COUNTER_NAME_PATTERN

Constructor Detail

HotspotThreadback to summary
pack-priv HotspotThread(VMManagement vm)

Constructor of HotspotThread class.

Method Detail

getInternalThreadCountback to summary
public native int getInternalThreadCount()

Implements sun.management.HotspotThreadMBean.getInternalThreadCount.

Doc from sun.management.HotspotThreadMBean.getInternalThreadCount.

Returns the current number of VM internal threads.

getInternalThreadCpuTimesback to summary
public Map<String, Long> getInternalThreadCpuTimes()

Implements sun.management.HotspotThreadMBean.getInternalThreadCpuTimes.

Doc from sun.management.HotspotThreadMBean.getInternalThreadCpuTimes.

Returns a Map of the name of all VM internal threads to the thread CPU time in nanoseconds. The returned value is of nanoseconds precision but not necessarily nanoseconds accuracy.

getInternalThreadingCountersback to summary
public List<Counter> getInternalThreadingCounters()

Implements sun.management.HotspotThreadMBean.getInternalThreadingCounters.

Doc from sun.management.HotspotThreadMBean.getInternalThreadingCounters.

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

getInternalThreadTimes0back to summary
public native int getInternalThreadTimes0(String[] names, long[] times)