The Function Detail window displays data about a specific .NET managed method and its immediate callers and descendants. The data is shown in tabular and (for aggregate runs and snapshots) graphical formats.
§ Method data. Detailed memory data for the method itself. The % of Focus pie chart displays a purple slice to indicate the percentage of allocated memory the method and its descendants contributed to the current focus (for example, .Root.). A white slice represents the percentage that all other methods contributed to the current focus.
§ Caller data. A list of immediate callers, the number of times each caller called the selected method, how much of the selected method's method + descendants (M+D) bytes is distributed to each caller, and the percentage of memory that was allocated in the selected method and its descendants on behalf of the caller. These percentages are indicated in the Callers pie chart by color-coded slices.
§ Descendant data. A list of immediate descendants, the number of times each descendant was called by the selected method, and the amount of memory each descendant contributed to the selected method's M+D bytes. The memory percentages are indicated in the Descendants pie chart by color-coded slices. In addition, a light green slice represents the percentage of memory allocated to the selected method itself (as shown in the method data). A gray slice represents memory allocated to its hidden descendants (also shown in the method data).
§ Object data. If the method created objects, the Function Detail window also contains a list of all objects currently allocated to the selected method. The list can show each object's size, object + references (O+R) size, number of garbage collections survived creation time, number of referees and references to other objects, root type and if the object is Unreachable, and if available, the approximate line number in source code where the object was created.
For more information and tips about using the pie charts to analyze memory distribution, click
You can do the following operations in the Function Detail window:
To |
Do this |
Examine methods |
Double-click any caller or descendant in the tables, or any slice in the Callers or Descendants pie chart. Purify displays the details for that method and information about its callers and descendants, and selects the method in the Call Graph and function list. |
Examine objects |
Double-click an object in the list, or select the object and click |
Display pie chart details |
Pause the cursor over any pie chart slice to display information about it. |
Sort data |
Click a column heading to sort by that column or to change the sort order to ascending or descending. |
Show or hide columns |
Right-click in any column heading and select Show/Hide Columns from the shortcut menu. You can also drag the right border of a column heading completely to the left to hide the column; use the Show/Hide Columns dialog box to redisplay the column. |
Rearrange columns |
Drag a column by its heading to a new position. |
Resize columns |
Drag the right border of a column heading to any width or double-click the right border to automatically resize the column to fit the data. You can also right-click in any column heading and select Size All to Fit from the shortcut menu to resize all columns, or Size to Fit to resize the current column. |
Notes:
§ By default, Purify does not collect detailed object data. To collect and view detailed object data, in the PowerCheck tab in the Settings for <exename> dialog box, select Generate Object Reference Graph data.
§ The Object Detail window is available only if Generate Object Reference Graph data was selected for the run.
§ Pie charts and the method's object list are not shown for diff runs.
§ If a numeric value is too long to be completely displayed in a column, Purify displays ###. For long text strings, Purify displays as much of the string as possible and then an ellipsis (…). You can resize the columns to fully display the data.
§ By default, Purify displays commas in numeric values, as in 1,244,329.68. You can turn off this setting in the Preferences dialog box.
§ Only values greater than 1% are displayed in the pie charts.
§ Purify displays up to ten individual methods in the Callers and the Descendants pie charts. Additional methods are grouped together in a white slice labeled Other.
§ When you compare runs, the diff Function Detail window shows the differences, as well as original data for the two runs (identified as New and Base). Pie charts are not displayed.
§ Right-click in the Function Detail window to display a shortcut menu for working with method details.
(C) Copyright IBM Corporation 1992, 2010.