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

Tobias Hartmann thartmann at openjdk.org
Thu Feb 5 10:24:28 UTC 2026


On Mon, 2 Feb 2026 23:34:04 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...

src/hotspot/share/opto/graphKit.cpp line 3587:

> 3585:     // TODO remnant to support old makePrivateBuffer generic cast, we can probably remove this now
> 3586:     return obj;
> 3587:   }

This code can all go away. I run some testing and it looks good.

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

PR Review Comment: https://git.openjdk.org/valhalla/pull/2018#discussion_r2768185535


More information about the valhalla-dev mailing list