[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:37:42 UTC 2026


On Fri, 30 Jan 2026 15:56:30 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
>
> test/hotspot/jtreg/runtime/valhalla/inlinetypes/field_layout/FieldLayoutAnalyzer.java line 198:
> 
>> 196:     int nullFreeNonAtomicLayoutAlignment;    // -1 if no non-nullable layout
>> 197:     int nullFreeAtomicLayoutSize;            // -1 if no atomic layout
>> 198:     int nullFreeAtomicLayoutAlignment;       // -1 if no atomic layout
> 
> Nit: should the comment also say non-nullable since it's null-free as well?

Fixed

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

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


More information about the valhalla-dev mailing list