[jdk17u-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 09:18:19 UTC 2024


On Wed, 21 Feb 2024 12:26:43 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/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)

Same thing here: please merge from current master to get an up-to-date test run.

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

PR Comment: https://git.openjdk.org/jdk17u-dev/pull/2216#issuecomment-2107059504


More information about the jdk-updates-dev mailing list