On Fri, 20 Feb 2026 13:31:38 GMT, Chen Liang <[email protected]> wrote:
>> I disagree. The JavaDoc specifies `{@return whether a flat layout of this
>> class contains references}` . So if we replace "class", with "int[]", we
>> read: "whether a flat layout of int[] contains references". The method
>> returns true, but in the context of the documentation it shouldn't (an int[]
>> is always flat and certainly does not contain oops).
>>
>> This is not my area and if you insist/others are fine with it, I'm happy to
>> agree to disagree.
>
> Sure, do you think "a flat field layout" would work better?
Yes, that'd make it a lot better. Thanks!
-------------
PR Review Comment:
https://git.openjdk.org/valhalla/pull/2143#discussion_r2833229716