[lworld] RFR: 8373375: [lworld] Remove Unsafe.make/finishPrivateBuffer
Tobias Hartmann
thartmann at openjdk.org
Thu Feb 5 06:45:52 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 3585:
> 3583: const Type* obj_type = _gvn.type(obj);
> 3584: if (obj_type->is_inlinetypeptr() && !obj_type->maybe_null() && klass_ptr_type->klass_is_exact() && obj_type->inline_klass() == klass_ptr_type->exact_klass(true)) {
> 3585: // TODO remnant to support old makePrivateBuffer generic cast, we can probably remove this now
I think this can do. Let me verify and get back to you.
-------------
PR Review Comment: https://git.openjdk.org/valhalla/pull/2018#discussion_r2767384913
More information about the valhalla-dev
mailing list