[lworld+vector] RFR: 8319972: [lworld+vector] Enable intrinsification of Unsafe.finishPrivateBuffer. [v2]

Xiaohong Gong xgong at openjdk.org
Mon Nov 20 01:39:51 UTC 2023


On Thu, 16 Nov 2023 10:10:16 GMT, Jatin Bhateja <jbhateja at openjdk.org> wrote:

>> I see. Thanks! Sounds reasonable. The native implementation of `makePrivateBuffer()` also marks the larval bit of the object. Can we get some help from it?
>
> Idea here is to prevent scalarization of value objects in larval state, above check ensures that InlineTypeNode rematerialized from return value of non-inlined makePrivateBuffer are rebuffered and transitioned into larval state.

It makes sense to me. Thanks!

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

PR Review Comment: https://git.openjdk.org/valhalla/pull/952#discussion_r1398564307



More information about the valhalla-dev mailing list