Object allocation analysis enables the user to capture the information pertaining to the type, number, and age of that have been allocated. If you select the object allocation tracking, all classes loaded by the target JVM are instrumented to produce information about object allocations. The object allocation analysis records both the object creation and garbage collection information to provide information about how many objects of each type are still alive, as well as data on live objects. Object analysis statistics are available at the class level.
This view is made of a table where the first column presents the list of items. The display modes available is based on the object type:
The data displayed depends what object type is selected. The statistics available for each object are summarized in the table below.
Column heading | Class statistics![]() |
---|---|
|
Accumulated by class |
Note: The totals shown in this view represent only the data that has been collected since you started monitoring your process. If you start monitoring your process half way through the execution, you will only see the totals from the point that you started monitoring.
For information on how to access the Profiling Types page for a profiling set, see the following tutorial: Analyzing the profiling data from a Java process.
Icon | Definition |
---|---|
![]() |
Display the package statistics |
![]() |
Display the class statistics |
![]() |
Display the instance statistics |
![]() |
Open the source of a selected item. |
![]() |
Shows the percentage of memory allocated. |
![]() |
Shows the change in each numeric column since the last refresh. |
![]() | Filter objects based on time, size, total instances, or other criteria. |
![]() |
Export the data to a file. |
![]() | ![]() ![]() |
Icon | Definition |
---|---|
![]() |
Refresh the view. |
![]() |
Choose the columns to display. |
![]() |
Show object references. |
![]() |
Open the source of a selected item. |
Click the title of a column to sort it. Click the title of the column again to sort it in reverse order. The title of the column is prefixed with > if the column is sorted in ascending order or with < if it is sorted in descending order.
Columns can be hidden or shown.
Related concepts
Overview of the Profiling Tool
Profiling resources
Related tasks
Object Allocation Analysis views
Profiling an application
Identifying memory-intensive classes
(C) Copyright IBM Corporation 2009. All Rights Reserved.