Integrated: 8373389: Two jdk/incubator/vector/ tests fails after JDK-8371446
Xueming Shen
sherman at openjdk.org
Thu Dec 11 20:51:00 UTC 2025
On Wed, 10 Dec 2025 23:59:00 GMT, Xueming Shen <sherman at openjdk.org> wrote:
> Test case ByteNNNVectorTests.MULReduceByteNNNVectorTestsMasked (specifically **_av.reduceLanes(VectorOperators.MUL, vmask)_**) fails "intermittently" with the newly added test data **mask[random]** on certain CPUs, likely those using AVX-512. For example, AMD_EPYC_9J14_96-Core is the one consistently fails.
>
> This new mask data was added to **_BOOLEAN_MASK_GENERATORS_** as part of the changes for JDK-8371446 https://github.com/openjdk/jdk/pull/28593
>
>
> withToString("mask[random]", (int s) -> {
> return fill_boolean(s,_i -> RAND.nextBoolean());
> })
>
>
> Although this addition does reveals a potential bug in C2's av.reduceLanes(VectorOperators.MUL, vmask) implementation, it unfortunately introduces nosy, non-deterministic tier3 test failures in the vector API test suite.
>
> This change temporarily remove this data entry from BOOLEAN_MASK_GENERATORS to reduce the the test instability.
>
> This change also includes the regenerated test updates from gen-test.sh to sync the template and the generated test code, addressing the issue reported in JDK-8373390.
This pull request has now been integrated.
Changeset: ae85d899
Author: Xueming Shen <sherman at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/ae85d899d074c531371dece30319ace701517528
Stats: 224 lines in 31 files changed: 180 ins; 3 del; 41 mod
8373389: Two jdk/incubator/vector/ tests fails after JDK-8371446
Reviewed-by: psandoz
-------------
PR: https://git.openjdk.org/jdk/pull/28757
More information about the core-libs-dev
mailing list