TABLE 18–22 JVM Statistics for Java SE- Runtime (Continued)
Statistic DataType Description
managementspecversion StringStatistic Management spec. version implemented
by the JVM.
classpath StringStatistic Classpath that is used bythe system class
loader to searchfor class les.
librarypath StringStatistic Java librarypath.
bootclasspath StringStatistic Classpaththat is used by thebootstrap
class loader tosearch for class les.
inputarguments StringStatistic Inputarguments passed to the JVM. Does
not include thearguments to the main
method.
uptime CountStatistic Uptime ofthe JVM (in milliseconds).
The statistics available for ThreadInfo in the JVM in Java SE are shown in the following table.
TABLE 18–23 JVM Statistics for Java SE- Thread Info
Statistic DataType Description
threadid CountStatistic ID ofthe thread.
threadname StringStatistic Nameof the thread.
threadstate StringStatistic State of the thread.
blockedtime CountStatistic Timeelapsed (in milliseconds) since the
thread entered theBLOCKED state. Returns
-1 if threadcontention monitoring is
disabled.
blockedcount CountStatistic Total number of times thatthe thread
entered the BLOCKED state.
waitedtime CountStatistic Elapsed time (in milliseconds) thatthe
thread has beenin a WAITING state.
Returns -1 ifthread contention
monitoring is disabled.
waitedcount CountStatistic Totalnumber of times the thread wasin
WAITING or TIMED_WAITING states.
lockname StringStatistic String representation of the monitor lock
that the threadis blocked to enter or
waiting to benotied through the
Object.wait method.
AboutMonitoring
SunGlassFishEnterpriseServer2.1AdministrationGuide • December2008190