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

Aleksey Shipilev shade at openjdk.org
Mon May 13 08:59:27 UTC 2024


On Wed, 21 Feb 2024 12:26:40 GMT, SendaoYan <syan at openjdk.org> wrote:

> 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

I think is PR base is too old, bot says there are 318 commits ahead of it. Can you please merge from master to see if it still works?

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

PR Comment: https://git.openjdk.org/jdk21u-dev/pull/279#issuecomment-2107018645


More information about the jdk-updates-dev mailing list