RFR: 8358749: Fix input checks in Vector API intrinsics
Vladimir Ivanov
vlivanov at openjdk.org
Fri Jun 6 21:41:49 UTC 2025
On Fri, 6 Jun 2025 14:09:11 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> 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`
Looks good.
Thanks for taking care of upstreaming it.
-------------
Marked as reviewed by vlivanov (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/25673#pullrequestreview-2906212581
More information about the hotspot-compiler-dev
mailing list