![]() Previous |
![]() Next |
The Graph tab contains a timeline graph that shows the events in individual threads. It can be used to analyze the events in threads using a colored pattern on a timeline.
For information about using the range navigator, see Using the Range Navigator.
When a thread is created, it is associated with a thread group, for example, the main
thread group, the system
thread group, and so. In the Event Graph panel, expand the necessary thread group to see the threads in the group. For each thread, a series of events is displayed along the timeline. You can see when an event started, and when it ended. You can see whether certain events from different threads occurred at the same time or not. Each event is depicted by the color defined by its type in the Event Types browser. For more information, see Event Types Browser.
To see more details about a specific event, place the mouse pointer over that event's segment on the timeline to display a tooltip with the attributes of the event.
Some thread labels are too long to fit on the graph and are truncated. To select the truncation mode, right-click the thread label, select Label Format, and then select one of the available modes (Truncate Beginning, Truncate Center, Truncate End). You can fit a long thread label on several lines by expanding the width of the timelines for threads using the zoom slider in the bottom right corner.
On the Event Graph, you can add or remove specific threads from the operative set to compare just the events that occur on those threads. For more information, see Using Operative Sets. To show only the threads and events from the operative set, select the Show Only Operative Set check box above the graph.
While the Event Graph does not show specific threads associated with garbage collection, you can display the garbage collection events. To see events that occurred during garbage collection, select Show GC above the graph. A new timeline appears above all the threads, labeled Garbage Collection.
To display thread transitions on the Event Graph, select Show Transitions above the graph.