Uploaded image for project: 'Java Mission Control'
  1. Java Mission Control
  2. JMC-6757

Selector for attribute in the flame graph

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P2 P2
    • 8.3.0
    • None
    • Mission Control Client
    • None

      It should be possible to switch between the attribute to use for the flame graph. For example, the allocated bytes can be more interesting than the event count, or the duration waited.

      So, I propose adding a combo box, and filling out the combo box with the attribute names of all the numerical attributes found for the types in the IItemCollection (letting count be a special case on top, which is basically using the count aggregation function).

      When an attribute is selected, that attribute is instead used to calculate the weights in the tree.

      Implementation notes:

      • We probably want to keep the selected attribute (if available) when switching selections. If the selected attribute is not available, we default to count (which is always available).
      • There are a couple of possible places for the combobox, I think. One is on the top of the flame graph page, perhaps next to the filter box. Another is using the view menu and populate the choices as submenus. Another is perhaps trying to place it in the view toolbar. The first one is probably the best.

       

            jpbempel Jean-Philippe Bempel
            hirt Marcus Hirt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: