分类: Java
2017-04-25 13:41:56
State |
Description |
alive |
This is a normal, running thread. Virtually all threads in the thread dump will be alive. |
not started |
The thread has been requested to start running by java.lang.Thread.start(), but the actual OS process has not yet started, or executed far enough to pass control to the JRockit JVM. It is extremely unlikely to see this value. A java.lang.Thread object that is created, but not has had start() executed, will not show up in the thread dump. |
terminated |
This thread has finished its run() method and has also notified any threads joining on it, but it is still kept in the JVM internal thread structure for running threads. It is extremely unlikely to see this value. A thread that has been terminated for a time longer than a few milliseconds will not show up in the thread dump. |
State |
Description |
blocked |
This thread has tried to enter a synchronized block, but the lock was taken by another thread. This thread is blocked until the lock gets released. |
blocked (on thin lock) |
This is the same state as blocked, but with the additional information that the lock in question is a thin lock. |
waiting |
This thread has called Object.wait() on an object. The thread will remain there until some other thread sends a notification on that object. |
sleeping |
This thread has called java.lang.Thread.sleep(). |
parked |
This thread has called java.util.concurrent.locks.LockSupport.park(). |
suspended |
The thread’s execution has been suspended by java.lang.Thread.suspend() or a JVMTI/JVMPI agent call |
State |
Description |
interrupted |
The user called java.lang.Thread.interrupt() on this thread. |
daemon |
This is either JVM internal thread or a thread that was marked as a daemon thread by java.lang.Thread.setDaemon(). |
in native |
This thread is executing native code: either user-supplied JNI code or JVM internal code. |
in suspend critical mode |
This thread is executing JVM internal code and has marked itself as suspend critical. Garbage collection is stopped for a specified time period. |
native_blocked |
This thread is executing JVM internal code and has tried to take a JVM internal lock. The thread is blocked because that lock is held by another thread. |
native_waiting |
This thread is executing JVM internal code and is waiting for notification from another thread about a JVM internal lock. |
Name |
Description |
Active Execute Threads |
The number of active execute threads in the pool. |
Execute Thread Total Count |
The total number of threads in the pool. |
Execute Thread Idle Count |
The number of idle threads in the pool. This count does not include standby threads and stuck threads. The count indicates threads that are ready to pick up new work when it arrives |
Queue Length |
The number of pending requests in the priority queue. This is the total of internal system requests and user requests. |
Pending User Request Count |
The number of pending user requests in the priority queue. The priority queue contains requests from internal subsystems and users. This is just the count of all user requests. |
Completed Request Count |
The number of completed requests in the priority queue. |
Hogging Thread Count |
returns the threads that are being hogged by a request right now. These threads will either be declared as stuck after the configured timeout or will return to the pool before that. The self-tuning mechanism will backfill if necessary. |
Standby Thread Count |
Returns the number of threads in the standby pool. Threads that are not needed to handle the present work load are designated as standby and added to the standby pool. These threads are activated when more threads are needed. |
Name |
Description |
Name |
The name of the execute thread. |
Total Requests |
The number of requests which have been processed by this queue. |
Current Request |
The request this thread is currently processing. |
Transaction |
The transaction on behalf of which the execute thread is currently working. |
User |
The user on behalf of which the execute thread is currently working. |
Idle |
True if the execute thread has no work assigned to it. |
Stuck |
True if the execute thread is stuck working on a request for more than the configured stuck thread maximum time. |
Hogger |
True if the execute thread is being hogged by a request for much more than the normal execution time, as automatically observed by the scheduler. |
Standby |
True if the execute thread is not a part of the active thread pool. |
Work Manager |
The name of the current work manager. |
Application |
The name only, without the version number, of the application using the context class loader of the thread. |
Module |
The module using the context class loader of the thread. |