RFR: 8358749: Fix input checks in Vector API intrinsics
ExE Boss
duke at openjdk.org
Mon Oct 20 01:22:29 UTC 2025
On Tue, 10 Jun 2025 06:14:34 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`
>
> Thanks for reviews! Here goes.
@shipilev
> I believe that comment should be in another bug.
Can thou create that bug report? (I don’t have an OpenJDK account to create it with)
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25673#issuecomment-3420189827
More information about the hotspot-compiler-dev
mailing list