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

Chen Liang liach at openjdk.org
Fri Feb 20 21:28:51 UTC 2026


> 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 incrementally with one additional commit since the last revision:

  Refactors per comment

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

Changes:
  - all: https://git.openjdk.org/valhalla/pull/2143/files
  - new: https://git.openjdk.org/valhalla/pull/2143/files/01f5220a..30be499d

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=valhalla&pr=2143&range=02
 - incr: https://webrevs.openjdk.org/?repo=valhalla&pr=2143&range=01-02

  Stats: 19 lines in 2 files changed: 11 ins; 2 del; 6 mod
  Patch: https://git.openjdk.org/valhalla/pull/2143.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2143/head:pull/2143

PR: https://git.openjdk.org/valhalla/pull/2143


More information about the valhalla-dev mailing list