RFR: 8358749: Fix input checks in Vector API intrinsics
Aleksey Shipilev
shade at openjdk.org
Fri Jun 6 14:15:05 UTC 2025
We have been carrying this patch in Leyden/premain for a while: https://github.com/openjdk/leyden/commit/7faed7fc5c8e1bbd9a16ab22673a77099396179c. I believe it deserves to be in mainline. I polished it a little further.
It is _mostly_ a cleanup, but there are also new checks, on the paths where we do take constants off the arguments. In those cases, I believe the alternative is compiler SEGV-ing.
Additional testing:
- [x] Linux x86_64 server fastdebug, `hotspot_vector_1 hotspot_vector_2`
- [x] Linux x86_64 server fastdebug, `jdk_vector`
-------------
Commit messages:
- Fix
Changes: https://git.openjdk.org/jdk/pull/25673/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25673&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8358749
Stats: 50 lines in 1 file changed: 21 ins; 0 del; 29 mod
Patch: https://git.openjdk.org/jdk/pull/25673.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/25673/head:pull/25673
PR: https://git.openjdk.org/jdk/pull/25673
More information about the hotspot-compiler-dev
mailing list