[lworld] RFR: 8373375: [lworld] Remove Unsafe.make/finishPrivateBuffer [v2]

Jatin Bhateja jbhateja at openjdk.org
Thu Feb 5 15:22:34 UTC 2026


On Thu, 5 Feb 2026 14:40:47 GMT, Chen Liang <liach at openjdk.org> wrote:

>> WIP, replacing make/finishPrivateBuffer with flat array operations, yet to figure out how to ensure UseArrayFlattening is always on...
>
> Chen Liang has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains six additional commits since the last revision:
> 
>  - Redundant if block per review
>  - Merge branch 'lworld' of https://github.com/openjdk/valhalla into fix/buffer-removal
>  - Merge branch 'lworld' of https://github.com/openjdk/valhalla into fix/buffer-removal
>  - Missed test
>  - Rollback breaking change
>  - Remove private buffer

These two APIs are heavily used in lworld+vector.

With this change it will need significant change on that branch with next merge.

There is currently no way to update @multifield based payload apart from an Unsafe API

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

PR Comment: https://git.openjdk.org/valhalla/pull/2018#issuecomment-3854329869


More information about the valhalla-dev mailing list