On Tue, 3 Nov 2026 20:24:22 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 11 commits: > > - Review > - 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 > - Redundancy in build > - 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 > - ... and 1 more: https://git.openjdk.org/jdk/compare/83790083...e8d4b637 Java changes look good. Needs a HotSpot reviewer. This is a very good start, we can finally formalize that vector/mask/shuffle instances have no identity. We need a CSR. For this PR `==` equality will only return true for the same instance (which has the same payload reference). Simple to specify but surprising. We need to follow up and investigate if it is possible to compare the payload contents so the behavior is the same as the `EQ` comparison operator. ------------- Marked as reviewed by psandoz (Reviewer). PR Review: https://git.openjdk.org/jdk/pull/32113#pullrequestreview-5834624994
