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

[IR Framework] Use new PrintCompilation compiler directive to reduce the test VM output

XMLWordPrintable

      Currently, the IR framework uses -XX:+PrintCompilation in the test VM to check the compilation status of the @Test annotated methods (set in getPrintFlags() in FlagVM.java).

      This can now be improved by using the new PrintCompilation compiler directive added by JDK-8255746 to only dump the compilation information of the @Test annotated methods.

      Additionally, we could probably improve the HotSpotPidFileParser class as we do not need to check anymore if a PrintCompilation message belongs to a @Test annotated method or not, making the parser more efficient and probably easier.

            chagedorn Christian Hagedorn
            chagedorn Christian Hagedorn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: