[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 12:32:19 UTC 2024


On Mon, 13 May 2024 09:27:38 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)
>
> 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

> /sponsor

Thanks.

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

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


More information about the jdk-updates-dev mailing list