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 scrubbingJDK-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.
With the introduction scrubbing
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.
- relates to
-
JDK-8282427 jdk/jfr/jvm/TestWaste.java is failing with "exit code 139"
-
- Open
-