Threads Count Timeline Report


The Threads Count Timeline Report identifies a thread as a daemon thread, blocked thread or an active thread. This helps you to understand whether a particular thread is blocking another active thread and impacting the job that is running.

The information in the report is displayed in two sections:

  • A line graph displaying the live, blocked and daemon threads in a selected jvm environment.
  • A data table with information about the thread.

To access the report

  1. In the myStrobe window, select a Performance Profile. For more information, see Creating performance profile.
  2. Click image-2024-1-12_12-5-56.pngand select Java >JVM Name-PID from the menu.
    Java_reports_menu_new_PID.png
  3. From the list of available Strobe for Java report, select the Thread Count Timeline Report.
    The report is generated in the form of a line graph.
  4. Click anywhere on the thread line in the plot area to view the number of threads in a particular time frame.
  5. Click image-2024-1-12_12-45-35.pngat the bottom right of the window to view the data in a tabular form.
  6. Click list_closed.gif and list_open.gif to expand and collapse the data nodes.

Line graph

The line graph displays the Live Threads denoted by the blue line, the Daemon Threads denoted by the green line and the blocked threads denoted by the red line in a specific jvm environment. 

Threads_count_timeline.png

In the line graph:

  • Profile Name is the Performance Profile that you selected while generating this report to measure the application run time.
  • Job Name is the name of the job in which the Java program is running and for which you requested the measurement session.
  • JVM Name is the name of the Java Virtual machine.
  • Initiated On is the time stamp when you started the measurement request.
  • Threads are the multiple run paths in the selected jvm environment. 
  • The x (horizontal) axis displays time stamps based on the specified time interval.
  • The y (vertical) axis is the number of threads or thread counts in a jvm.

You can perform the following actions on the line graph:

  • To view exact values at a data point, hover over that point.
  • To zoom in, click and drag the line at a data point. This will give you an enlarged view of the data point.
  • To zoom out, double-click the line.
  • To create and save notes on the observations you make in the report, click Screenshot 2024-07-09 114301.jpg
  • To view all threads in the graph, including daemon threads, turn on the Show Daemon toggle key.

Data table

When you select a data point of a specific thread on the graph, the thread name and its type (whether it is active or daemon) is displayed in the data table.
Threads_count_threads.png

To view or hide details about a specific thread, click list_closed.gif and list_open.gif.

The data table consists of the following fields:

Field

Description

Thread type

Indicates whether the thread is Live or Daemon

Timestamp

Displays the date and time

Thread Id

Indicates the thread number

Thread Name

Indicates the names of threads occupied by the job class

Thread State

Indicates the current state of threads in the jvm environment. The valid values are:

  • NEW: The thread is newly created and yet to start running
  • RUNNABLE: The thread is ready to run
  • BLOCKED: The thread is waiting on a lock that is in use by other threads
  • WAITING: The thread is waiting for action in another thread to finish. The waiting thread then becomes runnable
  • TIMED_WAITING: The thread is waiting for a specified time period
  • TERMINATED: The thread has finished running and completed the action

Blocked Object

Indicates whether there are objects that the thread is waiting to synchronize. A blocked object indicates high CPU usage.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*