RFR: 8303762: [vectorapi] Intrinsification of Vector.slice [v2]

Paul Sandoz psandoz at openjdk.org
Wed Mar 8 16:22:13 UTC 2023


On Wed, 8 Mar 2023 13:48:16 GMT, Quan Anh Mai <qamai at openjdk.org> wrote:

>> src/jdk.incubator.vector/share/classes/jdk/incubator/vector/ByteVector.java line 2289:
>> 
>>> 2287:             getClass(), byte.class, length(),
>>> 2288:             this, that, origin,
>>> 2289:             new VectorSliceOp<ByteVector>() {
>> 
>> Change from inner class to lambda expression?
>
> We still need this method to be inlined and I don't know if there is a way to annotate the lambda function.

Yes, i wondered about the inline and how important it might be. You want the fallback to inline so as not to perturb platforms without the intrinsic. Can you add a comment on the anon class?

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

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


More information about the hotspot-compiler-dev mailing list