Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8366809

JFR: Use factory for aggregator functions

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • 26
    • None
    • hotspot
    • None
    • jfr

      The 'jfr view' command groups data according to a key, and for every key, a new Function object needs to be created. This is done in a factory method, where the aggregator function is selected based on the type of field.

      Instead of performing this selection for each key, a factory could be used. This approach would also simplify the implementation of JDK-8366480 (Context expanded column), where a new Function may be needed for every event.

            egahlin Erik Gahlin
            egahlin Erik Gahlin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: