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

Selector for attribute in the flame graph


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


      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.





            • Assignee:
              hirt Marcus Hirt
              hirt Marcus Hirt
            • Votes:
              0 Vote for this issue
              1 Start watching this issue


              • Created: