RFR: 8283839: [JVMCI] add support for querying indy bootstrap method target and arguments
Doug Simon
dnsimon at openjdk.java.net
Wed Apr 20 07:36:00 UTC 2022
This PR adds support to JVMCI for obtaining the call info for the bootstrap method associated with an invokedynamic or constantdynamic constant pool entry.
In the context of Native Image, this is necessary to be able to defer execution of select bootstrap methods to image run time (as opposed to executing the bootstrap method during Native Image build time).
I've also included a minor change to adopt use of the `jvms` javadoc tag in JVMCI Java code. This is preferable to the HTML links previously used in that the latter refer to a specific JDK release.
-------------
Commit messages:
- added ConstantPool.lookupBootstrapMethod
- use @jvms javadoc tag
Changes: https://git.openjdk.java.net/jdk/pull/8273/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=8273&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8283839
Stats: 342 lines in 13 files changed: 306 ins; 14 del; 22 mod
Patch: https://git.openjdk.java.net/jdk/pull/8273.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/8273/head:pull/8273
PR: https://git.openjdk.java.net/jdk/pull/8273
More information about the hotspot-dev
mailing list