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

Roger Riggs rriggs at openjdk.org
Tue Feb 24 16:36:39 UTC 2026


On Sun, 22 Feb 2026 17:43:17 GMT, Chen Liang <liach at openjdk.org> wrote:

>> VarHandle reflectively checks if a class has oops (and does it incorrectly by not filtering static fields). This information is easily accessible from acmp maps, and we should use that instead of spinning our custom logic.
>
> Chen Liang has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains five additional commits since the last revision:
> 
>  - Merge branch 'lworld' of https://github.com/openjdk/valhalla into fix/array-vh-acmp
>  - Update terminology because everyone seems confused as hell
>  - Refactors per comment
>  - interface-typed fields were using atomic flat VHs ???
>  - 8378273: [lworld] Use acmp map to detect oops for VarHandle

Looks good.

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

Marked as reviewed by rriggs (Committer).

PR Review: https://git.openjdk.org/valhalla/pull/2143#pullrequestreview-3849141408


More information about the valhalla-dev mailing list