[lworld] RFR: 8352647: [lworld] Remove larval InlineTypeNode in Unsafe intrinsics [v5]
Tobias Hartmann
thartmann at openjdk.org
Mon Apr 7 05:27:01 UTC 2025
On Wed, 26 Mar 2025 03:16:29 GMT, Jatin Bhateja <jbhateja at openjdk.org> wrote:
>> src/hotspot/share/opto/library_call.cpp line 2685:
>>
>>> 2683: ciInlineKlass* vk = type->inline_klass();
>>> 2684: Node* klass = makecon(TypeKlassPtr::make(vk));
>>> 2685: Node* obj = new_instance(klass);
>>
>> We have adpoted a similar strategy in lworld-vector
>>
>> https://github.com/openjdk/valhalla/blob/lworld%2Bvector/src/hotspot/share/opto/inlinetypenode.cpp#L1071
>
> We should also emit the IR to mark the larval bit in the object header.
> https://github.com/openjdk/valhalla/blob/lworld%2Bvector/src/hotspot/share/opto/inlinetypenode.cpp#L1075
I wonder if we really still need the larval bit? Does it have any use other than in assertions?
-------------
PR Review Comment: https://git.openjdk.org/valhalla/pull/1406#discussion_r2013644219
More information about the valhalla-dev
mailing list