This class is not part of the public API.

Interface: sun.management.HotspotThreadMBean

  • public interface HotspotThreadMBean
Hotspot internal management interface for the thread system.

Methods

  • getInternalThreadCounttop

    public int getInternalThreadCount()
    Returns the current number of VM internal threads.
    Return:
    @return the current number of VM internal threads.
    Google Code Search
    Stack Overflow
  • getInternalThreadCpuTimestop

    public Map<String, Long> 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.

    Return:
    @return a Map object of the name of all VM internal threads to the thread CPU time in nanoseconds.
    Exceptions:
    @throws UnsupportedOperationException if the Java virtual machine does not support CPU time measurement.
    See:
    @see java.lang.management.ThreadMBean#isThreadCpuTimeSupported
    Google Code Search
    Stack Overflow
  • getInternalThreadingCounterstop

    public List<Counter> getInternalThreadingCounters()
    Returns a list of internal counters maintained in the Java virtual machine for the thread system.
    Return:
    @return a list of internal counters maintained in the VM for the thread system.
    Google Code Search
    Stack Overflow