[lworld+vector] RFR: 8319972: [lworld+vector] Enable intrinsification of Unsafe.finishPrivateBuffer.
Jatin Bhateja
jbhateja at openjdk.org
Thu Nov 16 10:12:56 UTC 2023
On Thu, 16 Nov 2023 08:19:06 GMT, Xiaohong Gong <xgong at openjdk.org> wrote:
>> This it to handle larval state propagation if makePrivateBuffer is not inline expanded, in such a case native implementation gets called and at compile time there is no way to detect larval state.
>
> 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.
-------------
PR Review Comment: https://git.openjdk.org/valhalla/pull/952#discussion_r1395459796
More information about the valhalla-dev
mailing list