[lworld] RFR: 8378273: [lworld] Use acmp map to detect oops for VarHandle [v2]

Chen Liang liach at openjdk.org
Fri Feb 20 13:21:52 UTC 2026


On Fri, 20 Feb 2026 13:01:38 GMT, Paul Hübner <phubner at openjdk.org> wrote:

>> A field `int[] a` is a reference, never flat.
>
> Of course. But I interpreted `hasOopsCase` meaning "does this container contain oops" whereby the `[]` is the container and the `int` is the field. So is `hasOopsCase` only called on the element of the array rather than the container?

This really means the layout of a field of the given type has oops when it is inlined. I think this is clear enough.

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

PR Review Comment: https://git.openjdk.org/valhalla/pull/2143#discussion_r2833165439


More information about the valhalla-dev mailing list