JFR: Check for recording waste

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 19
    • Affects Version/s: None
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: