For methods that have been configured for exceptional method run recording, different icons will be shown. Please see the help on exceptional method run recording for more information.
The call 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.
A particular node is a bridge node if it would normally not be displayed in the view, but has descendant nodes that have to be displayed. The icons of bridge nodes are grayed out. For the call tree view this is the case if the self time of the current node is below the defined threshold, but there are descendant nodes that are above the threshold.
To quickly expand larger portions
of the call 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 call tree, select the
topmost method that should remain visible and choose
View->Collapse All from the main window's menu or
the context menu.
You can use this view as a starting point for determining which methods are candidates
for
exceptional method run recording.
Once you have identified methods of interest, you can right-click them in the table
and
choose Add As Exceptional Method
from the context menu.
DEL
key
or by choosing Remove Selected Sub-Tree from the context menu. Times in ancestor nodes will be corrected accordingly as if
the
hidden nodes did not exist.
There are two removal modes:
The selection of removed nodes influences the hot spots view. In this way, you can check what the hot spots would be if those methods were optimized to the point of not being important contributions.
When you remove a node, the header area will show a line with the count of the removed
nodes and a [Restore Remove Sub-Trees]
button. Clicking on this button will bring up a dialog where you can select removed
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.
After setting a call tree root, information about the selected root is shown at the top of the view. A single scrollable label shows the last few stack elements leading up to the root and a detail dialog with the entire stack of the call tree root can be displayed by clicking on the "Show more" button.
When you change the root, the hot spots view will show hot spots only for the selected root. At the top of the hot spot view, you will see the same information on the currently set root as in the call tree view to remind of you the context of the displayed data. Invoking the "Show graph" action in either the call tree or hot spot view will show a graph that is limited to the same call tree root - again at the top of the graph the information on the selected root is displayed. When creating a new graph in the graph view itself, a check box in the wizard lets you apply the currently selected root or analyze the entire call tree.
To return to the full view of all nodes called
in the current thread or thread group, select View->Show All
from the main window's menu or the context menu or click on the
remove button in the root
display at the top of the view.