[lworld] RFR: 8376532: [lworld] Size of BUFFERED layout is sometimes smaller than size of NULLABLE_NON_ATOMIC_FLAT layout [v2]

Frederic Parain fparain at openjdk.org
Fri Jan 30 17:02:34 UTC 2026


On Fri, 30 Jan 2026 15:51:45 GMT, Paul Hübner <phubner at openjdk.org> wrote:

>> Frederic Parain has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Change from review
>
> src/hotspot/share/classfile/fieldLayoutBuilder.cpp line 1272:
> 
>> 1270:     }
>> 1271:     if (has_nullable_non_atomic_layout() && payload_layout_size_in_bytes() < nullable_non_atomic_layout_size_in_bytes()) {
>> 1272:       _payload_size_in_bytes = nullable_non_atomic_layout_size_in_bytes();
> 
> Did we just forget this case before?

yes

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

PR Review Comment: https://git.openjdk.org/valhalla/pull/1997#discussion_r2747167744


More information about the valhalla-dev mailing list