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

Chen Liang liach at openjdk.org
Thu Feb 19 19:33:16 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:

  interface-typed fields were using atomic flat VHs ???

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

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

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

  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 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