RFR: 8315771: [JVMCI] Resolution of bootstrap methods with int[] static arguments [v2]

Doug Simon dnsimon at openjdk.org
Wed Sep 6 16:47:39 UTC 2023


On Wed, 6 Sep 2023 15:39:24 GMT, Sacha Coppey <duke at openjdk.org> wrote:

>> src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/meta/ConstantPool.java line 173:
>> 
>>> 171:     }
>>> 172: 
>>> 173:     /**
>> 
>> This is very confusing documentation. It's not clear what index or entry you are referring to each time you say "index". Please provide a concrete example.
>
> I have rewritten the documentation, I hope it is clearer. I also added a second argument to be able to access different different static arguments on the same bootstrap specifier.

It still needs an example showing how this API should be used. Please add a complete (pseudo-code) example to the javadoc of `BootstrapMethodInvocation`.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/15588#discussion_r1317567151


More information about the hotspot-compiler-dev mailing list