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

Make PrintCompilation available on a per method level

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 20
    • 16
    • hotspot
    • b21

      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.

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

              Created:
              Updated:
              Resolved: