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

Make PrintCompilation available on a per method level

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: In Progress
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 16
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Understanding:
      Fix Understood

      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

              Assignee:
              simonis Volker Simonis
              Reporter:
              simonis Volker Simonis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: