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

JFR: Only one finished state in ChunkHeader class

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 20
    • None
    • 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.

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

              Created:
              Updated:
              Resolved: