RFR: 8283839: [JVMCI] add support for querying indy bootstrap method target and arguments [v2]
Paul Sandoz
psandoz at openjdk.java.net
Wed Apr 20 16:28:29 UTC 2022
On Wed, 20 Apr 2022 07:38:59 GMT, Doug Simon <dnsimon at openjdk.org> wrote:
>> 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.
>
> Doug Simon has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains two new commits since the last revision:
>
> - added ConstantPool.lookupBootstrapMethod
> - use @jvms javadoc tag
Looks good (not an expert on JVMCI but i could follow the change). I am presuming no CSR is required for the new public method.
-------------
Marked as reviewed by psandoz (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/8273
More information about the hotspot-dev
mailing list