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

Add CompileCommand PrintIdealPhase

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 19
    • 19
    • hotspot
    • b10

      This patch adds the CompileCommand PrintIdealPhase. It allows to specify a list of compiler phases that will print the ideal IR.

      The motivation for this is that during work with the IR framework I have found the need for printing specific phases, and the previously added PrintIdealLevel is forced to use levels that just prints to much.

      Usage:
      -XX:CompileCommand=PrintIdealPhase,*::indexOf,"AFTER_EA,FINAL_CODE"

      I have chosen not to add this as a separate VM flag. Debug flags like this usually only applied to specific methods.

            neliasso Nils Eliasson (Inactive)
            neliasso Nils Eliasson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: