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

JFR: Native events should support empty payloads

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 15
    • 15
    • hotspot
    • None
    • jfr
    • b12

    Description

      Today, events defined in metadata.xml must have at least one field. This is because metadata.xsd defaults to minOccurs ="1". The schema should be changed so it has minOccurs="0" for <Field> elements inside an <Event> element

      Furthermore, the native writer also needs to be changed to accommodate for this. Today the JVM hangs when an event with no fields is emitted.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: