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

Make PrintCompilation available on a per method level

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 16
    • 20
    • hotspot
    • b21

    Description

      Especially during development and testing we use -XX:+PrintCompilation to make sure a specific method gets compiled. However, -XX:+PrintCompilation is a global flag which prints all the compilations which can be quite verbose.

      It would be therefore desirable to be able to use PrintCompilation on a per method level (e.g. -XX:CompileCommand="option,Inlining::foo,PrintCompilation"). This could be implemented in a way similar to PrintInlining.

      As part of this change, the per-method version of PrintInlining should be changed to automatically enable the per-method version of PrintCompilation.

      Attachments

        Issue Links

          Activity

            People

              simonis Volker Simonis
              simonis Volker Simonis
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: