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

JFR: Strengthen assertion on missing IDs

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P3 P3
    • 25
    • None
    • hotspot
    • None
    • jfr

      Today, the JFR parser validates that IDs in a checkpoint event are valid, meaning that there is a corresponding object written for the ID that is found. This validation is done when running with the -esa option.

      Unfortunately, this is not sufficient to detect all missing IDs.

      - The parser caches values for IDs that are read in earlier chunks, which is an optimization to improve performance. However, this can lead to the parser finding an object even though it is not in the current chunk.

      - ID values that are written as event values are not validated.

      These new assertions cannot be checked in until the underlying issues have been fixed.

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

              Created:
              Updated: