Class: sun.management.HotspotThread
- class HotspotThread
- implements HotspotThreadMBean
Implementation class of HotspotThreadMBean interface.
Internal, uncommitted management interface for Hotspot threading
system.
Methods
-
HotspotThreadtop
HotspotThread(VMManagement vm)Constructor of HotspotThread class. -
getInternalThreadCounttop
public native int getInternalThreadCount()Returns the current number of VM internal threads.- Specified by:
- getInternalThreadCount from HotspotThreadMBean
-
getInternalThreadCpuTimestop
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.- Specified by:
- getInternalThreadCpuTimes from HotspotThreadMBean
-
getInternalThreadTimes0top
public native int getInternalThreadTimes0(String[] names, long[] times) -
getInternalThreadingCounterstop
Returns a list of internal counters maintained in the Java virtual machine for the thread system.- Specified by:
- getInternalThreadingCounters from HotspotThreadMBean
Fields
-
COM_SUN_THREADS
static final private String COM_SUN_THREADS = "com.sun.threads." -
JAVA_THREADS
static final private String JAVA_THREADS = "java.threads." -
SUN_THREADS
static final private String SUN_THREADS = "sun.threads." -
THREADS_COUNTER_NAME_PATTERN
static final private String THREADS_COUNTER_NAME_PATTERN = "java.threads.|com.sun.threads.|sun.threads." -
jvm
private VMManagement jvm
