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

JFR: Check for recording waste

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 19
    • None
    • hotspot
    • None
    • jfr
    • b12

      If JFR writes redundant or unreferenced constant pool data, the recording file becomes unnecessary large, but still pass all the unit tests we have today.

      With the introduction scrubbing JDK-8271232, the JFR parser contains a mechanism that tracks all references, so it can clean out duplicated or unreferenced constants.

      We should add a unit tests that scrubs a recording without removing any events. If the file size can be reduced more than 2-5%, the test should fail.

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

              Created:
              Updated:
              Resolved: