On this tab of the filter settings, you define methods
whose exceptionally slow invocations will be shown separately in the
call tree view.
By default, JProfiler splits invocation events on the AWT thread in that way. If you click on on the Reset button, the default entries will be restored. |
Exceptional methods can be used to investigate outliers in the performance of selected methods.
Often, certain methods are supposed to complete quickly, but occasionally an invocation will take much
longer than the median time. In the call tree view, you cannot analyze those outliers, since all calls
are cumulated.
When you register a method for exceptional method recording, a few of the slowest invocations will be retained separately in the call tree. The other invocations will be merged into a single method node as usual. The number of separately retained invocations can be configured in the profiling settings, by default it is set to 5. When discriminating slow method invocations, a certain thread state can be used for the time measurement. By default, the wall clock time (all thread states) is used, but a different thread status can be configured in the profiling settings. Note that the thread status selection in the CPU views is not used in this case, but the separate setting in the profiling settings is used. |
Exceptional method runs are displayed differently in the call tree view.
For the concerned method nodes, icons are changed and text is appended:
|
To check the statistical properties of the distribution of call times of certain methods of interest, please start with the method statistics view. It can show you the outlier coefficient and a graph of call times versus frequency. This analysis allows you to assess whether an outlier is significant or not. From the method statistics view you can use the Add As Exceptional Method action in the context menu to add the method to the list of exceptional methods. The same context action is available in the call tree view. |
Apart from removing previously configured exceptional methods, you can also add exceptional methods directly
on this tab of the filter settings. The following ways for selecting methods are available:
|