By setting a view filter, you can analyze hot spots in selected packages. The cutoff will then be calculated relative to the set of filtered classes. In that way, hot spots may be shown that are otherwise below the cutoff threshold.
Note: The notion of a method hot spot is relative. Method hot spots depend on the filter sets that you have enabled in the filter settings. Filtered methods are opaque, in the sense that calls into other filtered methods are attributed to their own times. If you change your filter sets you're likely to get different method hot spots since you are changing your point of view. Please see the help topic on hot spots and filters for a detailed discussion.
If the method belongs to an unfiltered class, this time does not include calls into other methods. If the method belongs to a filtered class, this time includes calls into other filtered methods.
handle
on the left side of a hot spot, a tree of backtraces will be shown.
Every entry in the backtrace tree has textual information attached to it which depends
on the view settings.
Note: This is not the number of invocations of this method.
servlets
JSPs
EJBs
special icon and the prefix
HTTP:, followed by the part of the request URL on which the hot spot backtraces tree
was split. Note that HTTP nodes group request by the displayed URL.
Every node in the tree is a method call. This is the default aggregation level. Special Java EE component
methods have their own icon (see above) and display name, the real class name is appended
in square brackets.
Every node in the tree is a single class. Java EE component
classes have their own icon (see above) and display name, the real class name is appended
in square brackets.
Every node in the tree is a single package. Sub-packages are not included.
Every node in the tree is a Java EE component.
If the component has a separate display name, the real class names are omitted.
The hot spot backtraces tree doesn't display all method calls in the JVM, it only displays
Runnable.run() and the main method are always displayed, regardless of
the filter settings.
To quickly expand larger portions
of the hot spot backtraces tree, select a method and choose
View->Expand Multiple Levels from the main window's menu or
choose the corresponding menu item from the context menu. A dialog is shown
where you can adjust the number of levels (20 by default) and the threshold in per mille
of the parent node's value that determines which child nodes are expanded.
If you want to
collapse an opened part of the hot spot backtraces tree, select the
topmost method that should remain visible and choose
View->Collapse All from the main window's menu or
the context menu.
add method trigger action.
A dialog will be displayed where you
can choose whether to add the method interception to an existing method trigger or whether to create a
new method trigger.
DEL key
or by choosing Hide Selected from the context menu. Percentages will be corrected accordingly as if the
hidden node did not exist.
When you hide a node, the toolbar and the context menu will get a
Show Hidden
action. Invoking this action will bring up a dialog where you can select hidden elements to be shown again.
If a node is excluded, you will get options to add a profiled package, otherwise you will get options to add a compact or ignored filter. These actions are not available for classes in the "java." packages.