![]() Previous |
![]() Next |
Similar to hot packages and hot classes, hot methods are those methods wherein the application spends a significant amount of time executing. This table provides a more granular view of where the application is spending time executing than do the Hot Packages Chart or Hot Classes Table, making it valuable in helping you recognize which methods might be problematic. When you select a method, you can see its predecessors and successors on the Predecessors/Successors Trace Tables on the bottom half of this tab. Table: Hot Methods Table Description describes the data available on the Hot Methods table.
Hot Methods Table Description
Column | Description |
---|---|
Method |
Name of the hot method. |
Sample Count |
The number of times, within the period specified on the range navigator, that the method was sampled. |
Percentage |
The percentage of the total time, within the period specified on the range navigator, that the application spends executing in the specific method. |
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 Method.
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.