[jdk21u-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:08:40 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/jdk21u-dev/assets/24123821/f4bd5f9e-cefd-4e28-9a19-2f85d59b4dfe)
> 
> 
> After this PR, there 3 testcases won't be selected when the test jdk is linux-x86-client.
> ![image](https://github.com/openjdk/jdk21u-dev/assets/24123821/eba2a2b2-e164-452b-b7b2-cf4953cec7d4)
> 
> 
> Thanks,
> -sendao

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/jdk21u-dev/pull/279/files
  - new: https://git.openjdk.org/jdk21u-dev/pull/279/files/93cbcc4f..02c1674e

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

  Stats: 41337 lines in 1199 files changed: 23390 ins; 10174 del; 7773 mod
  Patch: https://git.openjdk.org/jdk21u-dev/pull/279.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/279/head:pull/279

PR: https://git.openjdk.org/jdk21u-dev/pull/279


More information about the jdk-updates-dev mailing list