beautypg.com

Table 18–23, Jvm statistics for java se - thread info – Sun Microsystems GLASSFISH ENTERPRISE 820433510 User Manual

Page 190

background image

TABLE 18–22

JVM Statistics for Java SE - Runtime

(Continued)

Statistic

Data Type

Description

managementspecversion

StringStatistic

Management spec. version implemented
by the JVM.

classpath

StringStatistic

Classpath that is used by the system class
loader to search for class files.

librarypath

StringStatistic

Java library path.

bootclasspath

StringStatistic

Classpath that is used by the bootstrap
class loader to search for class files.

inputarguments

StringStatistic

Input arguments passed to the JVM. Does
not include the arguments to the main
method.

uptime

CountStatistic

Uptime of the 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

Data Type

Description

threadid

CountStatistic

ID of the thread.

threadname

StringStatistic

Name of the thread.

threadstate

StringStatistic

State of the thread.

blockedtime

CountStatistic

Time elapsed (in milliseconds) since the
thread entered the BLOCKED state. Returns
-1 if thread contention monitoring is
disabled.

blockedcount

CountStatistic

Total number of times that the thread
entered the BLOCKED state.

waitedtime

CountStatistic

Elapsed time (in milliseconds) that the
thread has been in a WAITING state.
Returns -1 if thread contention
monitoring is disabled.

waitedcount

CountStatistic

Total number of times the thread was in
WAITING

or TIMED_WAITING states.

lockname

StringStatistic

String representation of the monitor lock
that the thread is blocked to enter or
waiting to be notified through the
Object.wait

method.

About Monitoring

Sun GlassFish Enterprise Server 2.1 Administration Guide • December 2008

190