[jdk17u-dev] RFR: 8311964: Some jtreg tests failing on x86 with error 'unrecognized VM options' (C2 flags) [v2]

SendaoYan syan at openjdk.org
Mon May 13 09:27:38 UTC 2024


> Hi,
> 
> Clean backport of [JDK-8311964](https://github.com/openjdk/jdk/pull/14942). Backport has been verified as bellow. Only change the testcases, the risk is low.
> 
> 
> There 3 testcases run complaint "Unrecognized VM option" with linux-x86-client-release jdk before this PR. LoopUnswitching, OptimizeFill and StressCCP are all C2 flags.
> test command:
> 
> rm -rf tmp/ ; jtreg -v:fail,error -nr -w tmp -jdk:build/linux-x86-client-release/images/jdk/ test/hotspot/jtreg/compiler/loopopts/TestBackedgeLoadArrayFillMain.java test/hotspot/jtreg/compiler/loopopts/TestInfiniteLoopWithUnmergedBackedgesMain.java test/hotspot/jtreg/compiler/rangechecks/TestRangeCheckCmpUOverflowVsSub.java 2>&1 | grep "Unrecognized VM option"
> 
> ![image](https://github.com/openjdk/jdk17u-dev/assets/24123821/b63a86f6-1e02-4de9-ba05-eade92287df6)
> 
> 
> Thanks,
> -sendao
> 
> After this PR, there 3 testcases won't be selected when the test jdk is linux-x86-client.
> ![image](https://github.com/openjdk/jdk17u-dev/assets/24123821/79915d83-047a-452e-81da-184b8a970fc0)

SendaoYan has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:

 - Merge branch 'openjdk:master' into backport-sendaoYan-024133b0
 - Backport 024133b089d911dcc3ea70dfdaa6b150b14a9eb4

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

Changes:
  - all: https://git.openjdk.org/jdk17u-dev/pull/2216/files
  - new: https://git.openjdk.org/jdk17u-dev/pull/2216/files/f7041a67..a6523b69

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=2216&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=2216&range=00-01

  Stats: 43016 lines in 1317 files changed: 20896 ins; 17902 del; 4218 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/2216.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/2216/head:pull/2216

PR: https://git.openjdk.org/jdk17u-dev/pull/2216


More information about the jdk-updates-dev mailing list