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

Add commit methods that take all event properties as argument

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      jfr
    • Resolved In Build:
      b07

      Description

      On events created by xslt, add commit methods that take all event properties as argument.

      Now properties are set using set_xxx() on the event. It is verbose and comes with the risk of forgetting to set some property (checked at runtime). After the change, committing can be done on one or two lines. Forgetting a property will be found at compile time.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              lkorinth Leo Korinth
              Reporter:
              lkorinth Leo Korinth
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: