[lworld] RFR: 8332406: [lworld] C2: Turn flat in array property into proper lattice in type system to address remaining issues [v4]

Christian Hagedorn chagedorn at openjdk.org
Tue Dec 9 07:30:13 UTC 2025


On Mon, 8 Dec 2025 18:59:08 GMT, Frederic Parain <fparain at openjdk.org> wrote:

>> Christian Hagedorn has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   review Tobias
>
> src/hotspot/share/oops/inlineKlass.cpp line 310:
> 
>> 308:   }
>> 309: 
>> 310:   // An instance is always flat in an array if we have all layouts.
> 
> This is true in the current implementation, but this could change in the future if the flattening policies are modified or new APIs to create reference arrays are added.

Thanks Frederic for the hint. I updated the comment to reflect that.

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

PR Review Comment: https://git.openjdk.org/valhalla/pull/1774#discussion_r2601396784


More information about the valhalla-dev mailing list