RFR: 8370378: Some compiler tests inadvertently exclude particular platforms [v2]
Vladimir Kozlov
kvn at openjdk.org
Wed Oct 22 17:12:51 UTC 2025
On Wed, 22 Oct 2025 08:31:05 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:
>> As @dholmes-ora described in JBS: For historical reasons `os.arch` is `amd64` on x86_64 Linux and Windows, but `x86_64` on macOS. I fixed the tests accordingly.
>>
>> Thanks,
>> Tobias
>
> Tobias Hartmann has updated the pull request incrementally with four additional commits since the last revision:
>
> - Update TestBit.java
> - Update test/hotspot/jtreg/compiler/c2/TestBit.java
>
> Co-authored-by: Christian Hagedorn <christian.hagedorn at oracle.com>
> - Update test/hotspot/jtreg/compiler/c2/irTests/RotateLeftNodeLongIdealizationTests.java
>
> Co-authored-by: Christian Hagedorn <christian.hagedorn at oracle.com>
> - Update test/hotspot/jtreg/compiler/c2/irTests/RotateLeftNodeIntIdealizationTests.java
>
> Co-authored-by: Christian Hagedorn <christian.hagedorn at oracle.com>
You could use `os.simpleArch == "x64"` in such cases:
https://github.com/openjdk/jdk/blob/master/test/jtreg-ext/requires/VMProps.java#L173
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27931#issuecomment-3433372131
More information about the hotspot-compiler-dev
mailing list