RFR: 8376187: [VectorAPI] Define new lane type constants and pass them to intrinsic entries [v2]

Quan Anh Mai qamai at openjdk.org
Thu Jan 29 11:45:33 UTC 2026


On Thu, 29 Jan 2026 11:34:51 GMT, Jatin Bhateja <jbhateja at openjdk.org> wrote:

>> src/hotspot/share/prims/vectorSupport.cpp line 202:
>> 
>>> 200: }
>>> 201: 
>>> 202: int VectorSupport::vop2ideal(jint id, BasicType bt) {
>> 
>> Previously, this method accepts a `BasicType`, now it accepts an untyped `int`.
>
> Correct, we are passing an integer laneType from java side to intrinsic entry points.

Please use a separate named type instead of `int`.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29481#discussion_r2741235103


More information about the core-libs-dev mailing list