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

Chen Liang liach at openjdk.org
Thu Feb 5 12:10:15 UTC 2026


On Thu, 5 Feb 2026 10:21:45 GMT, Tobias Hartmann <thartmann 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.

This whole if block?

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

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


More information about the valhalla-dev mailing list