RFR: 8160821: VarHandle accesses are penalized when argument conversion is required [v6]
Chen Liang
liach at openjdk.org
Wed Dec 3 16:43:24 UTC 2025
> Since access descriptor is created for each VH operation site, we can optimistically cache the adapted method handle in a site if the site operates on a constant VH. Used a C2 IR test to verify such a setup through an inexact VarHandle invocation can be constant folded through (previously, it was blocked by `asType`)
Chen Liang has updated the pull request incrementally with two additional commits since the last revision:
- Test from Jorn
- Copyright years
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/28585/files
- new: https://git.openjdk.org/jdk/pull/28585/files/89e21b4b..ff7b3629
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=28585&range=05
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=28585&range=04-05
Stats: 107 lines in 3 files changed: 105 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/28585.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/28585/head:pull/28585
PR: https://git.openjdk.org/jdk/pull/28585
More information about the hotspot-compiler-dev
mailing list