Call Tree View | ![]() ![]() |
![]() |
JProfiler automatically detects Java EE components
and displays the relevant nodes in the call tree with special icons that depend
on the Java EE component type:
![]() ![]() ![]() For certain classes, JProfiler shows a display name:
If URL splitting is enabled in the servlet probe
each request URL creates a new node with a
|
![]() |
The call tree view has an aggregation level selector. It allows you
to switch between
When you switch between two aggregation levels, JProfiler will make the best effort to preserve your current selection. When switching to a a more detailed aggregation level, there may not be a unique mapping and the first hit in the call tree is chosen. The call tree doesn't display all method calls in the JVM, it only displays
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 inherent time of the current node is below the defined threshold, but there are descendant nodes that are above the threshold. |
![]() |
When navigating through the call tree by opening
method calls, JProfiler automatically expands methods which are only called
by one other method themselves.
To quickly expand larger portions
of the call tree, select a method and choose
If you want to
collapse an opened part of the call tree, select the
topmost method that should remain visible and choose
|
![]() |
If a method node is selected, the context menu allows you to quickly add a
method trigger for the selected method with the
![]()
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 |
![]() |
Nodes in the call tree can be hidden by selecting them and hitting the DEL key
or by choosing Hide Selected from the context menu. Percentages will be corrected accordingly as if the
hidden node did not exist.
All similar nodes in other call stacks will be hidden as well.
When you hide a node, the toolbar and the context menu will get a |
![]() |
For method, class or package nodes, the context menu and the View menu have an
Add Filter From Selection entry. The sub-menu contains actions to add
appropriate filters as well
as an action to add an ignored method entry.
If a node is excluded, you will get options to add an inclusive filter, otherwise you will get options to add an exclusive filter. These actions are not available for classes in the "java." packages. |
![]() | The tree map selector above the call tree view allows you to switch to an alternate visualization: A tree map that shows all call stacks as a set of nested rectangles. Please see the help on tree maps for more information. |
![]() | If enabled in the view settings, every node in the call tree has a percentage bar whose length is proportional to the total time spent in the current node including all descendant nodes and whose light-red part indicates the percentage of the inherent time of the current node. |
![]() |
Every entry in the call tree has textual information attached which depends
on the call tree view settings
and shows
|
![]() | You can set change the root of the call tree to any node by selecting that node and choosing View->Set As Root from the main window's menu or by choosing the corresponding menu item from the context menu. Percentages will now be calculated with respect to the new root if the percentage base has been set to "total thread time" in the view settings dialog. 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. |
![]() | You can stop and restart CPU data acquisition to clear the call tree. |
![]() ![]() |