RFR: 8357660: [JVMCI] Add Support for Retrieving All Indy BootstrapMethodInvocations directly from the ConstantPool
Tom Shull
duke at openjdk.org
Fri May 30 15:06:29 UTC 2025
This PR adds support for directly retrieving all invokedynamic BootstrapMethodInvocations from a ConstantPool.
In addition, two methods are added to the BootstrapMethodInvocations:
1. `void resolveInvokeDynamic()`
2. `JavaConstant lookupInvokeDynamicAppendix()`
The combination of these two features allows one to directly interact with all invokedynamic information of a given ConstantPool without having to iterate through all of the Classfile's methods to find all invokedynamic bytecodes
-------------
Commit messages:
- complete changes
- commit review suggestion
- commit review suggestion
- change to allow both indys and condys to be looked up all at once
- address reviewer feedback
- style fixes and add testing to TestDynamicConstants.
- Add support for retrieving all Indy BootstrapMethodInvocations from Constant Pool.
Changes: https://git.openjdk.org/jdk/pull/25420/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25420&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8357660
Stats: 142 lines in 5 files changed: 130 ins; 0 del; 12 mod
Patch: https://git.openjdk.org/jdk/pull/25420.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/25420/head:pull/25420
PR: https://git.openjdk.org/jdk/pull/25420
More information about the graal-dev
mailing list