The hot spots view shows a list of all method calls which use at least 0.1%
of the total time spent in the current thread or thread group and lie above the
threshold defined in the
hot spots view settings.
See the help on the
estimated CPU time/elapsed time
setting and take into account the selection of the
thread state selector
to properly assess the meaning of this total time. By opening
a hot spot method entry, the tree of backtraces leading to that method call are
calculated and shown.
Note: The notion of a hot spot is relative. Hot spots depend on the
filter sets that you have enabled on the
call tree collection tab
of the profiling settings dialog.
Filtered methods are opaque, in the sense that calls into other filtered methods are attributed
to their own time. If you change your filter sets you're likely to get different hot spots
since you are changing your point of view. Please see
the help topic on hotspots and filters
for a detailed discussion.
|
The combo box at the top-right corner of the view allows you to treat calls to filtered classes
in two different ways:
-
show separately
Filtered classes can be hotspots of their own. This is the default mode.
-
add to calling class
Calls to filtered classes are always added to the calling class. In this mode, a filtered class
cannot be a hotspot, except if it is a top-level upward filter bag, i.e. if it is not called
by any unfiltered class, but calls unfiltered classes itself.
With these two modes you can change your viewpoint and the definition of a hotspot. Please see
the help topic on hotspots and filters
for a detailed discussion of this topic.
|
|
When navigating through the hot spots backtraces tree by opening
method calls, JProfiler automatically expands methods which are only called
by one other method themselves. To quickly expand larger portions
of the hot spots backtraces tree, select a method and choose
Edit->Expand 10 levels from the main window's menu or
choose the corresponding menu item from the context menu. If you want to
collapse an opened part of the hot spots backtraces tree, select the
topmost method that should remain visible and choose
Edit->Collapse all from the main window's menu or
the context menu.
|