On Mon, 2 Nov 2026 14:30:49 GMT, Chen Liang <[email protected]> wrote:

>> Represent Vector API payload objects (`Vector`, `VectorMask`, 
>> `VectorShuffle`) and `Float16` as value objects when preview features are 
>> enabled. This makes them more closely resemble the SIMD registers they try 
>> to model.
>> 
>> ---------
>> - [x] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> Chen Liang has updated the pull request with a new target base due to a merge 
> or a rebase. The pull request now contains seven commits:
> 
>  - Merge branch 'master' of github.com:openjdk/jdk into exp/vector-value-decl
>  - Merge branch 'master' of github.com:openjdk/jdk into exp/vector-value-decl
>  - Vector value JVM support
>  - Merge branch 'master' of github.com:openjdk/jdk into exp/vector-value-decl
>  - Merge branch 'master' of github.com:openjdk/jdk into exp/vector-value-decl
>  - Merge branch 'master' of github.com:openjdk/jdk into exp/vector-value-decl
>  - Vector API can be value classes!

Note that this will likely still have some identity issues due to the identity 
requirement of the backing arrays, until 
[`jdk.internal​.vm.annotation​.MultiField`] and its VM support is ported from 
[`lworld+vector`] to mainline.

[`lworld+vector`]: https://github.com/openjdk/valhalla/tree/lworld+vector
[`jdk.internal​.vm.annotation​.MultiField`]: 
https://github.com/openjdk/valhalla/blob/lworld+vector/src/java.base/share/classes/jdk/internal/vm/annotation/MultiField.java

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

PR Comment: https://git.openjdk.org/jdk/pull/32113#issuecomment-6584931747

Reply via email to