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

Quan Anh Mai qamai at openjdk.org
Thu Feb 5 15:33:37 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

I think it makes little sense to include in lworld an API that is only used in lworld+vector. So, for now, you can retain this API in lworld+vector only until we can come up with a satisfying design for @multifield.

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

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


More information about the valhalla-dev mailing list