RFR: 8267686: C2: PrintIdealGraphFile supports parameterization [v3]

Yong Zhou yongzhou at openjdk.java.net
Thu May 27 06:36:29 UTC 2021


> When analyzing C2 problems in jcstress[1], 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
> 
> 
> Implemented by referring to `DumpLoadedClassList` 
> 
> [1] https://mail.openjdk.java.net/pipermail/jdk8u-dev/2021-January/013278.html

Yong Zhou has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains one new commit since the last revision:

  8267686: C2: PrintIdealGraphFile supports parameterization

-------------

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/4201/files
  - new: https://git.openjdk.java.net/jdk/pull/4201/files/7fa5dbce..7fa37048

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=4201&range=02
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=4201&range=01-02

  Stats: 0 lines in 0 files changed: 0 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/4201.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/4201/head:pull/4201

PR: https://git.openjdk.java.net/jdk/pull/4201


More information about the hotspot-compiler-dev mailing list