Allocation Options Dialog

## Allocation Options Dialog |

| The allocation options dialog is displayed if you execute the calculate action for the allocation call tree view or the allocation hot spots view. It allows you to specify parameters that determine the information contained in the call tree. Your selection will then be displayed at the top of both views. The allocation call tree and the allocation hot spots are always calculated together, so the settings in this dialog apply to both views.

| The allocation call tree and allocation hot spots can display: Cumulated allocations for all classes The allocation call tree and the allocation hot spots will show all allocations, regardless of the class or array type. Allocations for a selected class or package Use the [...] chooser button to select a class or package that should be displayed by the allocation call tree and the allocation hot spots views. This brings up the class selection dialog. If the allocation recording mode is set to "Live and GCed objects without class resolution", it is not possible to switch to select class for the "Allocations for a selected class or package" mode and a corresponding warning message will be displayed.

| The allocation call tree can show objects according to their liveness status: Live objects Only objects which are currently in memory are shown. Garbage collected objects Only objects which have been garbage collected are shown. Live and garbage collected objects All created objects are shown. If the allocation recording mode is set to "Live objects only", it is not possible to switch to view modes with garbage collected objects and a corresponding warning message will be displayed.

| By default, the data in the allocation call tree and allocation hot spots views will not be updated automatically. If you would like to periodically update the views with the current data, select the `Auto-update the allocation views` check box. Please note that for large heaps this can incur a significant performance overhead.

| When you click on [OK], the allocation tree and the allocation hot spots are calculated. If you have a large heap, this can take a few seconds. If you click cancel, no new allocation tree and allocation hot spots will be calculated.