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

C2: Add command line option to print the compile phases

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 25
    • 25
    • hotspot
    • b24

      The IGV implicitly presents us with a list of the compile phases found in phasetype.hpp as they were executed. It would be helpful to have this list of phases printed to the commandline to be able to diff it with different executions.

      I propose a diagnostic command line argument for C2 -XX:PrintPhaseLevel=n that prints the name of the compiler phase in print_method() with a level less or equal than n - analogous to how -XX:PrintIdealGraphLevel works.

            mhaessig Manuel Hässig
            mhaessig Manuel Hässig
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: