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:
- 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.
- 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.
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
- 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, 2003. All Rights Reserved.