Starvation Ratio*

Shows the starvation (see above) divided by the Exclusive Method Clock Time for each method. Values close to one indicate that the method did not consume CPU, but nevertheless delayed execution of the program. Such methods are worthwhile to investigate to understand the reason of their behavior.

Related Topics

Inclusive Versus Exclusive Time (page 69)

Time Units (page 69)

Mark an Item for Search (page 178)

Find a Search Pattern (page 179)

Methods with Loops*

This metric tries to locate the most intensive loops in the application. The value is the average number of times a loop within a given method was executed over all invocations of the method. The actual loops are not instrumented (measured), and the calculations are based on the call counts collected for the call graph, so the metric always provides only an estimate.

Related Topics

Mark an Item for Search (page 178)

Find a Search Pattern (page 179)

Exclusive Class CPU Times*

The total of the Exclusive Method Times (CPU), summed over all methods of the class. To see the list of all contributing methods, double click on the class name.

Related Topics

Inclusive Versus Exclusive Time (page 69)

Time Units (page 69)

Mark an Item for Search (page 178)

Find a Search Pattern (page 179)

Exclusive Class Clock Times*

The total of the Exclusive Method Times (Clock), summed over all methods of the class. To see the list of all contributing methods, double click on the class name. The standard methods java.lang.Thread.sleep and java.lang.Object.wait do not contribute to this metric, however, they will be shown on the list of all contributing methods for the respective classes.

Related Topics

Inclusive Versus Exclusive Time (page 69)

Time Units (page 69)

Mark an Item for Search (page 178)

Find a Search Pattern (page 179)

Profile Memory and/or Heap Activity

Most of the heap metrics are available only when analyzing a heap dump file. When using the hprof tool to generate a heap dump, use the profiling option -agentlib:hprof=heap=all. See the metrics table to check how to collect the profile data in order to obtain a specific metric.

The types of objects allocated on heap are classes and arrays. If the profile data file does not contain the specific information related to objects, HPjmeter estimates Objects Created by Method and Created Objects (Count) based on the number of class constructors called. In such cases, you will see "(data estimated)" next to the metric label.

144 Using Visualizer Functions