RFR: 8368205: [TESTBUG] VectorMaskCompareNotTest.java crashes when MaxVectorSize=8
Galder Zamarreño
galder at openjdk.org
Wed Sep 24 16:21:39 UTC 2025
On Mon, 22 Sep 2025 07:39:24 GMT, erifan <duke at openjdk.org> wrote:
> The VectorShape size of `I_SPECIES_FOR_CAST` declared in test **VectorMaskCompareNotTest.java** is half that of `L_SPECIES_FOR_CAST`. And `L_SPECIES_FOR_CAST` is created with the maximum shape. Therefore, if `MaxVectorSize` is set to 8, the shape size of `I_SPECIES_FOR_CAST` is 4, which is an illegal value because the minimum vector size requirement is 8 bytes.
>
> This pull request addresses the issue by ensuring that this test runs only when `MaxVectorSize` is set to 16 bytes or higher.
Looking at the test, I see that there are other tests that at a glance don't seem to use `I_SPECIES_FOR_CAST`. Shouldn't this limitation be applied to only the tests that do assert that?
-------------
PR Review: https://git.openjdk.org/jdk/pull/27418#pullrequestreview-3263696891
More information about the hotspot-compiler-dev
mailing list