RFR: 8368205: [TESTBUG] VectorMaskCompareNotTest.java crashes when MaxVectorSize=8 [v2]
erifan
duke at openjdk.org
Thu Oct 9 07:13:26 UTC 2025
> 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.
erifan 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 three additional commits since the last revision:
- Remove JBS number 8368205 from VectorMaskCompareNotTest.java
- Merge branch 'master' into JDK-8368205-VectorMaskCompareNotTest-failure
- 8368205: [TESTBUG] VectorMaskCompareNotTest.java crashes when MaxVectorSize=8
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.
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/27418/files
- new: https://git.openjdk.org/jdk/pull/27418/files/2818a686..5afc18d7
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=27418&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=27418&range=00-01
Stats: 152891 lines in 1810 files changed: 127648 ins; 16150 del; 9093 mod
Patch: https://git.openjdk.org/jdk/pull/27418.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/27418/head:pull/27418
PR: https://git.openjdk.org/jdk/pull/27418
More information about the hotspot-compiler-dev
mailing list