Thread Monitor View

## Thread Monitor View |

| The thread monitor view shows the filtered list of all threads in the JVM together with associated information on times and status. There are a maximum of six columns shown in the table, which can be sorted. Name Shows the name of the thread. If the thread has not been named explicitly, the name is provided by the JVM. To make most use of this view, name your threads according to their function by invoking the `setName()` method on all threads created by you. Group Shows the name of the thread group associated with this thread. Start time Shows the time when the thread has been started. This time is calculated relative to the start time of the first thread in the JVM. End time This column is only visible when `show dead threads` is enabled in the view settings dialog. It shows the time when the thread has died and is empty if the thread is still alive. This time is calculated relative to the start time of the first thread in the JVM. CPU time Shows the CPU time which has been consumed by the thread. Note: The CPU time column is only visible if the `CPU time type` is set to `Estimated CPU times` on the Miscellaneous tab of the profiling settings. In addition, the CPU time is only measured when you record CPU data. Otherwise the CPU time column is always empty. This column may also be empty if your system and JVM do not support thread specific CPU time reporting. Creating thread Shows the name of the thread and its thread group that created this thread. Note: The creating thread column is only visible if you profile with Java 1.5 and higher (JVMTI). For Java 1.4 and lower (JVMPI), this column is not shown. This column may also be empty if your system and JVM do not support thread specific CPU time reporting. Status Shows the status of the thread which corresponds to the status reported in the thread history view.

| If you profile with Java 1.5 and higher (JVMTI), the above table will be the top component of a split pane. In the lower part of the split pane, the filtered stack trace of the thread creation of the currently selected thread is displayed. Stack traces can only be displayed if CPU data was being recorded when the thread was created.

| You can decide which threads are shown in the thread monitor view by checking the desired filters in the thread monitor view settings dialog. If `Show dead threads` is not enabled, the `End time` column will not be visible.