The invocation tree view shows a
thread resolved
top-down call tree which is
downward and upward filtered
for the
selected filter sets.
-
The entries in the invocation tree have different meanings which are
indicated by the displayed icons:
-
node method above threshold
This points to a method whose time usage is above the threshold set in the
invocation view settings.
There are other methods called from this method which are above the threshold as
well.
-
node method below threshold
This points to a method whose time usage is below the threshold set in the
invocation view settings.
However, there are other methods called from this method which are above the
threshold so this method must be shown to complete the tree up to the root.
-
leaf method above threshold
This points to a method whose time usage is above the threshold set in the
invocation view settings.
There are no other unfiltered methods called from here on. If this is
a top level node, it may inform you about direct calls to other filtered
classes which never call a method from an unfiltered class.
-
upward filter bag
This points to a section of the invocation tree which traverses methods
from filtered classes,
such as the AWT dispatch mechanism with java core classes filtered or servlets
and Enterprise Java Beans called from a filtered application server framework.
Between the shown method and the unfiltered children there may be any number of
method invocation that are filtered and thus not shown.
Every entry in the invocation tree has textual information attached which - depending
on the invocation view settings
shows
- a percentage number which is calculated with respect to either the
root of the tree or the calling method.
- a total time measurement in ms or µs.
This is the total time that includes calls into other methods.
- an inherent time measurement in ms or µs.
This is the inherent time that does not include calls into unfiltered methods.
- an invocation count which shows how often the method has been
invoked on this path.
- a method name which is fully qualified or relative with respect to
to the calling method.
- a line number which is only displayed if line number resolution
has been enabled in the profiling settings and
if the calling class is unfiltered. Note that the line number shows the line number of the invocation
and not of the method itself.
-
When navigating through the call tree by opening method calls,
JProfiler automatically expands methods which only call one other method themselves. To
quickly expand larger portions of the invocation tree, select a method
and choose
Edit->Expand 10 levels from the main window's menu or
choose the corresponding menu item from the context menu. If you want to
collapse an opened part of the invocation tree, select the topmost method
that should remain visible and choose
Edit->Collapse all from the main window's menu or
the context menu.
-
You can set change the root of the invocation tree to any method
by selecting that method and choosing Edit->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 methods called
in the current thread or thread group, select Edit->Show all
from the main window's menu or the context menu.