Heap Walker - Time View

   


  The heap walker time view conforms to the basic layout of all heap walker views. Also see the help on key concepts for the entire heap walker.
  The time view shows a time-resolved histogram of object allocations. The bin size depends on the zoom level.

This view can only be used if the "Record object allocation times" feature is activated on the "Memory Profiling" tab of the profiling settings dialog. Allocation times are only available for recorded objects. The number of unrecorded objects is displayed above the graph.

  When you move the mouse across the time view, the time at the position of the mouse cursor will be shown in JProfiler's status bar.
  The time view has two different display modes. The display mode is a persistent view setting and is thus also accessible through the heap walker view settings dialog.
  • fixed time scale
    If you are currently in the "scale to fit window" mode, you can switch to this mode by
    • choosing the scale mode selector button at the top of the graph.
    • choosing Scale to fit window from the context menu.
    • checking Scale to fit window in the heap walker view settings dialog.

    In this mode, the time axis can be scrolled with the scrollbar on the bottom which appears if the total time span does not fit into the current view size.

    You can adjust the scale of the time axis by zooming in or out.  Zooming in increases the level of detail while  zooming out decreases it. You change the zoom level by

    • using the zoom controls at the top of the view.
    • choosing Zoom in and Zoom out from the context menu.

  • scale to fit window
    If you are currently in the "fixed time scale" mode, you can switch to this mode by
    • choosing the scale mode selector button in the lower right corner of the view.
    • choosing Continue at fixed scale from the context menu.
    • unchecking Scale to fit window in the heap walker view settings dialog.

    The time scale on the time axis is adjusted in order to show the total time span in the current size of the view. Zooming is not possible in this mode.

  Grid lines and background of the time view can be configured in the heap walker view settings dialog.
  You can select multiple time intervals by
  • clicking and dragging with the mouse on the graph in the horizontal direction.
  • choosing the select up to here action from the context menu.
  • choosing the select from here action from the context menu.
  • choosing the select between bookmarks action from the tool bar right above the view or the context menu. A dialog will be shown that allows you to select a range of bookmarks. All objects allocated between the first selected and the last selected bookmark are selected in the view.

You can clear your selections by clicking on the clear selections button at the top of the view or by selecting the corresponding action from the context menu.

  To add a selection step from this view you can select one or more time intervals and click the [Use selected] button above the graph.

A new object set will be created that contains only the instances of the selected objects. After your selection, the view helper dialog will assist you in choosing the appropriate view for the new object set.