RFR: JDK-8301959: Compile command in compiler.loopopts.TestRemoveEmptyCountedLoop does not work

Tobias Holenstein tholenstein at openjdk.org
Wed Feb 15 16:15:12 UTC 2023


`TestRemoveEmptyCountedLoop.java` used an asterisk operator in CompileOnly which is not supported: 
 `-XX:CompileOnly=compiler.loopopts.TestRemoveEmptyCountedLoop::test*`

# Solution
Changed the test to use `-XX:CompileCommand=compileonly` which supports the asterisk operator

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

Commit messages:
 - JDK-8301959: Compile command in compiler.loopopts.TestRemoveEmptyCountedLoop does not work

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

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


More information about the hotspot-compiler-dev mailing list