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

C2: PrintIdealGraphFile supports parameterization

XMLWordPrintable

    • generic
    • generic

      When analyzing C2 problems in jcstress, which starts multiple JVMs. If parsing %p%t is not supported, the file specified by PrintIdealGraphFile will be opened repeatedly.

      Example:
      ```
      java -XX:-BackgroundCompilation -XX:-TieredCompilation -XX:CICompilerCount=1 -XX:PrintIdealGraphLevel=3 -XX:PrintIdealGraphFile=ideal-%p-%t.xml -XX:CompileCommand="print *jcstress::lambda\$sanityCheck_Footprints\$2" -jar jcstress.jar -c 64 -f 1 -iters 1 -t org.openjdk.jcstress.tests.locks.stamped.StampedLockPairwiseTests
      ```

            yongzhou Yong Zhou
            yongzhou Yong Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days
                2d