Skip Headers
Previous
Previous
 
Next
Next

Hot Threads Tab

The Hot Threads tab contains information about the threads that were most used by the JVM. This information is based on the same HotSpot sample data that is used in the Hot Methods Tab. You can use the information in this tab to analyze thread performance.

For information about using the range navigator, see Using the Range Navigator.

The Context Switch Rate/Second field shows the average number of context switches per second that the operating system performed. This value is calculated based on the Thread Context Switch Rate event that may not be available for small ranges of the recording. You can add the Thread Context Switch Rate events to the operative set to see them in the range navigator. For more information, see Using Operative Sets.

To add the Thread Context Switch Rate event to the operative set:

  1. (Optional) If you need to clear the current operative set, right-click any table, select Operative Set, and then select Clear.

  2. Open the Events Tab Group.

  3. Open the Event Types Browser.

  4. In the Event Type browser, expand the Operating System node, then expand the Processor node, and select the Thread Context Switch Rate event.

  5. In the Events tab group, open the Overview tab, and right-click the Thread Context Switch Rate event in the Event Types table. In the context menu, select Operative Set, then select Add Selection.

Now you can open the Hot Threads tab in the Threads tab group and see the Thread Context Switch Rate events highlighted in the range navigator.