JFR: Strengthen assertion on missing IDs

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P3
    • 26
    • Affects Version/s: None
    • Component/s: hotspot
    • None
    • jfr
    • In Review

      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.

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

              Created:
              Updated: