|
|

A rectangle's color will vary according to a black-to-blue-to-red color spectrum. Along the top of the display appears an optional color legend, showing the range of color values and the meaning of the color. The meaning of the color depends on the current choice in the Object Appearance menu. Colors on the black end of the spectrum generally denote lower values, with black meaning zero, while colors on the red end denote higher values. Objects that have been garbage collected appear as rectangular outlines, as opposed to filled rectangles. Class names appear in color as well, their color reflecting the cumulative value of instances of a class.
To create greater differentiation among colors, use the color scale operations in the Options menu (see below).
Arrays, if present, are depicted as separate "classes" having names of the form [type. Each rectangle for these pseudo-classes represents an array of type. Note: in the current version of Jinsight, arrays are only reported by a snapshot of the memory heap.
Calling relationship lines are labeled with the number of calls that the line represents. An arrowhead shows the direction of the relationship. Circular calling relationships and circular references are shown as small oval lines leaving and re-entering the same object Flying over a line with the mouse pointer shows the relationship information in the status line at the bottom of the view. Finally, the calling relationship lines to/from a single object can be restricted to show just the "top 5" -- the 5 lines representing the highest frequency of calls.
To remove all relationship lines, select Clear Lines from the Options menu.
The remaining popup menu options are active only when current selections
exist. Drill Down from Selected Items lets you open a view that is
restricted to the current selections. Create a New Slice will create
one or more new slices from the current selections.
You can create either a single slice From Selected Items or one slice
For Each Selected Item. Choosing Limit an Existing Slice presents
the set of execution slices you can choose to limit to Selected Items.
Sorting choices rearrange the rows in the histogram according to different sort criteria. Sort Class Names Now sorts the rows alphabetically, while Sort Class Colors Now sorts them by color, from red to black.
Clear Lines removes from the view all lines showing calling, creation, or reference relationships among the objects. Clear Selection deselects the any classes, objects, or other entities previously selected here or elsewhere in the workspace.
Short Names strips leading qualifiers from all class names to save space and reduce clutter, at the risk of name ambiguity. Font Scaling is a toggle that allows/disallows scaling of the character data font size as the view is zoomed in and out.
Memory Size Active and Memory Size Total produce a single rectangle of varying width for each class. In the case of Memory Size Active, the width reflects the total amount of storage occupied by all active instances of the class—that is, instances that have not been garbage collected. When Memory Size Total is chosen, the rectangle's width reflects the total storage consumed at one time or another by every instance, including those that have been garbage collected.
Color by Slice differentiates the classes and objects according to the color assigned to each defined slice. Dark gray is the default color for classes and objects that are in the workspace but not in any other slice. Classes completely outside of the workspace base slice filtering are rendered in an almost invisible beige color.
See also Using Slices in the Histogram View for a more detailed discussion of how this view may be used with slices and workspaces..
The trace must contain object reference information to view blue reference lines from the pop-up menu. To record reference information in the trace, issue one of the object reference snapshot commands during trace creation.
|
|