RFR: 8373389: Two jdk/incubator/vector/ tests fails after JDK-8371446
Xueming Shen
sherman at openjdk.org
Thu Dec 11 00:46:51 UTC 2025
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.
-------------
Commit messages:
- 8373389: Two jdk/incubator/vector/ tests fails after JDK-8371446
Changes: https://git.openjdk.org/jdk/pull/28757/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28757&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8373389
Stats: 224 lines in 31 files changed: 180 ins; 3 del; 41 mod
Patch: https://git.openjdk.org/jdk/pull/28757.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/28757/head:pull/28757
PR: https://git.openjdk.org/jdk/pull/28757
More information about the core-libs-dev
mailing list