background image
<< Memory Profiling for Java | To obtain a differential report >>
<< Memory Profiling for Java | To obtain a differential report >>

Method Snapshots

Runtime Analysis
The Report Explorer window displays a Test for each execution of the application
node or for a test node when using Component Testing for Java. Inside each test, a
Snapshot report is created for each Memory Profiling snapshot.
Method Snapshots
The Memory Profiling report displays snapshot data for each method that has
performed an allocation. If the Java CLASSPATH is correctly set, you can click blue
method names to open the corresponding source code in the Text Editor. System
methods are displayed in black and cannot be clicked.
Method data is reset after each snapshot.
For each method, the report lists:
·
Method: The method name. Blue method names are hyperlinks to the source
code under analysis
·
Allocated Objects: The number of objects allocated since the previous snapshot
·
Allocated Bytes: The total number of bytes used by the objects allocated by the
method since the previous snapshot
·
Local + D Allocated Objects: The number of objects allocated by the method
since the previous snapshot as well as any descendants called by the method
·
Local + D Allocated Bytes: The total number of bytes used by the objects
allocated by the method since the previous snapshot and its descendants
Referenced Objects
If you selected the With objects filter option in the JVMPI Settings dialog box, the
report can display, for each method, a list of objects created by the method and
object-related data.
From the Memory Profiling menu, select Hide/Show Referenced Objects.
For each object, the report lists:
·
Reference Object Class: The name of the object class. Blue class names are
hyperlinks to the source code under analysis.
·
Referenced Objects: The number of objects that exist at the moment the
snapshot was taken
·
Referenced Bytes: The total number of bytes used by the referenced objects
Differential Reports
The Memory Profile report can display differential data between two snapshots
within the same Test. This allows you to compare the referenced objects. There are
two
diff
modes:
79