support compound units for JFR

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: Mission Control Core
    • None
    • generic
    • generic

      We have discussion on the unit of Allocation rate. https://mail.openjdk.java.net/pipermail/jmc-dev/2022-April/004614.html

      Marcus comments that JFR already has compound units:
      eg.
        <XmlContentType name="bytes-per-second" annotation="jdk.jfr.DataAmount(BYTES), jdk.jfr.Frequency" />
        <XmlContentType name="bits-per-second" annotation="jdk.jfr.DataAmount(BITS), jdk.jfr.Frequency" />

      bytes-per-second is referred by event G1BasicIHOP.

      bits-per-second is used by NetworkUtilization

      We need to support a subclass of IUnit which supports compound unit.

       

       

            Assignee:
            Marcus Hirt
            Reporter:
            Xin Liu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: