JFR: Only one finished state in ChunkHeader class

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 20
    • Affects Version/s: None
    • Component/s: hotspot
    • None
    • jfr
    • b18

      Today the chunk header class has two fields, isFinished and finished, to indicate that the parser has reached a finished chunk.

      Only one is needed.

      If the chunk is finished and doesn't contain metadata, an IOException is thrown after JDK-8289688. The field isFinished can safely be removed.

            Assignee:
            Erik Gahlin
            Reporter:
            Erik Gahlin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: