Identifying active threads

To give you a better understanding of program execution and thereby an indication of when and where most resources of a program are spent, it is useful to know which threads are active and when. The Execution Flow view is helpful for this purpose. 

To open the execution flow follow these steps:

  1. Ensure that the collection of execution flow information has been enabled, which you do when launching or attaching to the application to be profiled.  Select the profiling option, My application is too slow then, from the Details options, select Show Execution flow graphical details
  2. In the Profiling Monitor view, select either the monitor or the agent.
  3. Right click, then select Open With > Execution Flow. The Execution Flow view opens.

Each thread consists of a profusion of method calls. The methods are represented by vertical stripes, progressing from left to right, and the active parts of the thread are identified by this left-to-right progression.

Tips

Related concepts
Overview of the Profiling Tool
Execution flow view and table

Related tasks
Profiling an application
Launching or attaching a Java process