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

JFR: Test chunk integrity

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 20
    • None
    • hotspot
    • None
    • jfr
    • b29

    Backports

      Description

        The JDK parser caches data when parsing, for example, if a thread with a particular ID exists in two chunks, it only reads the data for the ID once.

        This reduces overhead, but it can also hide issues where an ID is not written in the second chunk. This can become visible in JMC, since the JMC parser lacks this optimization.

        To find issues where an ID is not written, it would be good to create a test that records data in multiple chunks, but compares the result of parsing chunks individually with the result of parsing them all together. It can also check that constants are not null, which is what happens if a constant is not written in the correct chunk.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: