[lworld] RFR: 8378273: [lworld] Use acmp map to detect oops for VarHandle
Chen Liang
liach at openjdk.org
Thu Feb 19 18:11:28 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.
-------------
Commit messages:
- 8378273: [lworld] Use acmp map to detect oops for VarHandle
Changes: https://git.openjdk.org/valhalla/pull/2143/files
Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=2143&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8378273
Stats: 383 lines in 6 files changed: 226 ins; 149 del; 8 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