Identifying active threads
Prerequisites:
The Execution Flow view allows you to examine
the threads within a program to identify when and where most a program's resources are spent.
To open the Execution Flow view follow these steps:
- In the Profiling Monitor view, select either the monitor or the agent.
- Right click, then select Open With > Execution Flow. The
Execution Flow view opens.
- In the Execution Flow view, each thread consists of a large number 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
- If the graph is too crowded and difficult to read, zoom in
to the crowded area.
- When you select a method all its called methods are highlighted in
yellow.
- You can drag and drop the views on the workbench, arranging them
simultaneously if needed.
- Wherever you point the cursor the corresponding base time is indicated in
the status bar.
- To reset the display of the view, click
the Home button.
Related concepts
Overview of the Profiling Tool
Execution flow view and table
Related tasks
Profiling an application
Launching or attaching a Java process
(C) Copyright IBM Corporation 2000, 2004. All Rights Reserved.