![]() Previous |
![]() Next |
The Events by Thread table lists the threads used during the period defined on the range navigator. For each thread, the table shows the information described in Table: Thread Table Description.
Thread Table Description
Column | Description |
---|---|
Thread |
The name of the thread |
Java Thread Id |
The Id for the thread. |
Number of Events |
The number of events that occurred in this particular thread. |
Total Duration |
The total amount of time consumed by the events that occurred in this thread. |
Two features on this panel enable you to narrow the results appearing on both the table and the pie chart. These are a filtering mechanism and an option for displaying just the operative set of data.
By using the Events by Thread table's context menu, you can perform the following:
Change the sort order of each column. See Changing the Sort Order of a Table Column.
Select which data to show by selecting from a list of available columns.
Copy selection for pasting elsewhere, for example in a text editor, and configure how that data is to be stored on your clipboard. See Copying Data to the Clipboard.
Add and remove threads from the operative set. See Using the Events by Thread Table with the Operative Set.
You can use the filtering mechanism above the table to narrow the information shown in a table.
To filter a column:
Right-click the Filter Column drop-down control to open its menu and select the column you want to filter on, for example Thread.
The column name appears in the Filter Column field.
In the adjacent text box, enter the string for which you want to filter.
Normally, to lessen the impact on performance, matching is done using only simple Kleene star wildcards. A star (*
) will match zero or more occurrences of anything; for example:
8*
will match anything beginning with 8. *es
will match anything ending with es.
You can also match using regular expressions; however, resolution can take much longer with complex expressions and large amounts of data; for example:
regexp:(YC|Young Collect).*
will match anything starting with YC or Young Collect, such as YC Promotion Failed, Young Collection and Young Collector Nursery Snapshot.
You can also build logical expressions for columns with numerical values. For instance, for a column with counts, such as the one in Memory/allocation Allocation by Class table, the expression > 100 && < 500
will filter out the classes with more than 100 but less than 500 events.
The filter text entry field is case sensitive.
On the Events by Thread Table, you can add or remove specific threads from the operative set to compare just the events that occur on those threads. This functionality, accessible from the Operative Set context sub-menu, is similar to that available on other Flight Recorder tabs.
To show just threads in the operative set on the Event by Thread table:
You can display on the Event by Thread table just those events in the operative set by selecting Show Only Operative Set, at the top right of the graph. When you select this checkbox, only those threads you have added to the operative set will appear on the Event Graph.