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

Selector for attribute in the flame graph

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P2
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 8.0.0
    • Component/s: Mission Control Client
    • Labels:
      None

      Description

      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.

       

        Attachments

          Activity

            People

            • Assignee:
              mwengner Miro Wengner
              Reporter:
              hirt Marcus Hirt
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: