![]() |
The allocation call tree shows a top-down call tree cumulated for all
threads and filtered according to the
filter settings which
is similar to the one shown in the
call tree view in JProfiler's
CPU section except that it shows allocations
of class instances and arrays instead of time measurements.
In order to prepare an allocation call tree, you have to click on the
Before the allocation call tree is calculated, the allocation options dialog is shown. The class or package selection as well as the selected liveness mode are displayed at the top of the allocation call tree view. |
![]() |
JProfiler automatically detects Java EE components
and displays the relevant nodes in the allocation call tree with special icons that depend
on the Java EE component type:
![]() ![]() ![]() For certain classes, JProfiler shows a display name:
![]() |
![]() |
The allocation call tree view has an aggregation level selector. It allows you
to switch between
The allocation 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 allocation call tree view this is the case if the current node has no allocations, but there are descendant nodes that have allocations. |
![]() |
When navigating through the allocation 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 allocation call tree, select a method and choose
If you want to
collapse an opened part of the allocation 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
![]() |
![]() |
![]() |
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 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. |
![]() |
The tree map selector above the allocation 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 allocation call tree has a size bar whose length is proportional to the total number of allocations including all descendant nodes and whose light-red part indicates the percentage of allocations in the current node. |
![]() |
Every node in the allocation call tree has textual information attached that depends
on the
allocation call tree settings and shows
|
![]() |
If garbage collected objects are shown, you can reset the accumulated data
by clicking on the ![]() ![]() |
![]() |
Only recorded objects will be displayed in the allocation call tree view. See the memory section overview for further details on allocation call stack recording. |
![]() |
The View->Take Heap Snapshot For Selection menu item and the
corresponding
![]() |