RFR: 8325610: CTW: Add StressIncrementalInlining to stress options

Joshua Cao duke at openjdk.org
Fri Feb 16 22:13:12 UTC 2024


CtwRunner opts-in into [various C2 randomizers](https://github.com/openjdk/jdk/blob/6a12362660d6221beb3a059dc90d06a8068cce39/test/hotspot/jtreg/testlibrary/ctw/src/sun/hotspot/tools/ctw/CtwRunner.java#L297-L301)

I think we forgot to add -XX:+StressIncrementalInlining there, which was added by [JDK-8319879](https://bugs.openjdk.org/browse/JDK-8319879).

tested by `./ctwrunner.sh modules:java.base`

I can see `-XX:+StressIncrementalInlining` in `modules_java_base_0.cmd`


-Xbatch
-XX:-ShowMessageBoxOnError
-XX:+UnlockDiagnosticVMOptions
-XX:+DisplayVMOutputToStderr
-DCompileTheWorldStartAt=0
-DCompileTheWorldStopAt=7671
-XX:+WhiteBoxAPI
-Xbootclasspath/a:.
--add-exports
java.base/jdk.internal.jimage=ALL-UNNAMED
--add-exports
java.base/jdk.internal.misc=ALL-UNNAMED
--add-exports
java.base/jdk.internal.reflect=ALL-UNNAMED
--add-exports
java.base/jdk.internal.access=ALL-UNNAMED
-XX:+LogCompilation
-XX:LogFile=hotspot_modules_java_base_0_%p.log
-XX:ErrorFile=hs_err_modules_java_base_0_%p.log
-XX:ReplayDataFile=replay_modules_java_base_0_%p.log
-XX:CompileCommand=exclude,java/lang/invoke/MethodHandle.*
-XX:+IgnoreUnrecognizedVMOptions
-XX:+StressLCM
-XX:+StressGCM
-XX:+StressIGVN
-XX:+StressCCP
-XX:+StressMacroExpansion
-XX:+StressIncrementalInlining
-XX:StressSeed=1785134692

sun.hotspot.tools.ctw.CompileTheWorld
modules:java.base

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

Commit messages:
 - 8325610: CTW: Add StressIncrementalInlining to stress options

Changes: https://git.openjdk.org/jdk/pull/17897/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17897&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8325610
  Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/17897.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17897/head:pull/17897

PR: https://git.openjdk.org/jdk/pull/17897


More information about the hotspot-compiler-dev mailing list