Integrated: 8358749: Fix input checks in Vector API intrinsics

Aleksey Shipilev shade at openjdk.org
Tue Jun 10 06:17:35 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`

This pull request has now been integrated.

Changeset: ca7b8858
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/ca7b885873712a5ae503cb82c915d709034a69f7
Stats:     50 lines in 1 file changed: 21 ins; 0 del; 29 mod

8358749: Fix input checks in Vector API intrinsics

Co-authored-by: Vladimir Ivanov <vlivanov at openjdk.org>
Reviewed-by: vlivanov, sviswanathan

-------------

PR: https://git.openjdk.org/jdk/pull/25673


More information about the hotspot-compiler-dev mailing list