IBM User Guide for Java V7 on Windows > Troubleshooting and support > Using diagnostic tools > Using Javadump > Interpreting a Javadump

Threads and stack trace (THREADS)

The THREADS section of java dumps show a list of...

A Java thread is implemented by a native thread of the operating system. Each thread is represented by a set of lines such as:

The properties on the first line are...

The second line contains...

The third line contains

The Java thread priority is mapped to an operating system priority. Larger values have higher high priority, running more frequently than lower priority threads.

The values of state can be:

R Runnable Thread is able to run when given the chance.
CW Condition Wait Thread is waiting.

  • A sleep() call is made
  • Thread has been blocked for I/O
  • A wait() method is called to wait on a monitor being notified
  • Thread is synchronizing with another thread with a join() call
S Suspended Thread has been suspended by another thread.
Z Zombie Thread has been killed.
P Parked Thread has been parked by the new concurrency API (java.util.concurrent).
B Blocked Thread is waiting to obtain a lock that something else currently owns.

If a thread is parked or blocked, the output contains a line for that thread, beginning with 3XMTHREADBLOCK, listing...

For Java threads, the line beginning with 3XMHEAPALLOC displays the number of bytes of Java objects and arrays allocated by that thread since the last garbage collection cycle. In the example, this line is just before the Java callstack.

When you initiate a javadump to obtain diagnostic information, the JVM quiesces Java threads before producing the javacore. A preparation state of exclusive_vm_access is shown in the 1TIPREPSTATE line of the TITLE section.

Threads that were running Java code when the javacore was triggered are in CW (Condition Wait) state.

The javacore LOCKS section shows that these threads are waiting on an internal JVM lock.


See also

  1. Understanding Java and native thread details
  2. Blocked thread information


Parent: Interpreting a Javadump


Error 404 - Not Found

Error 404 - Not Found

The document you are looking for may have been removed or re-named. Please contact the web site owner for further assistance.