|
The hot spot calculation options can be selected in the drop-down list above the table labeled
"Hot spot options". The times calculation section lets you calculate hot spots from
- Self
This is the default option and is preferable in most situations. Hot spots are calculated based on their
cumulated self times, excluding calls to other recorded methods.
- Total
With this option, hot spots will be calculated based on the total times that you see in the call tree.
Methods near the top of the call stack will always be the top hot spots.
Hot spots can be different, depending on how unprofiled classes are handled:
- Show separately
The displayed hot spots are calculated from all method calls in the call tree. Unprofiled classes are measured
if they are called directly from profiled classes, so they can contribute hot spots of their own. This is the default mode.
- Add to calling class
Calls to unprofiled classes are always added to the calling class. In this mode, an unprofiled class
cannot contribute a hot spot, except if it is a thread entry method (run and main methods).
Depending on your selection of the aggregation level, the method hot spots will change. They
and their hot spot backtraces will be aggregated into classes or packages or filtered for
Java EE component types.
By setting a view filter, you can analyze hot spots in selected packages. The cutoff will then be
calculated relative to the set of filtered classes. In that way, hot spots may be shown that are otherwise below
the cutoff threshold.
Note: The notion of a method hot spot is relative. Method hot spots depend on the
filter sets that you have enabled in the
filter settings.
Filtered methods are opaque, in the sense that calls into other filtered methods are attributed
to their own times. If you change your filter sets you're likely to get different method hot spots
since you are changing your point of view. Please see
the help topic on hot spots and filters
for a detailed discussion.
|