RFR: 8315771: [JVMCI] Resolution of bootstrap methods with int[] static arguments [v4]
Sacha Coppey
duke at openjdk.org
Thu Sep 7 12:10:31 UTC 2023
> Currently, jdk.vm.ci.meta.ConstantPool.lookupBootstrapMethodInvocation does not support static arguments of type int[].
>
> Supporting those static arguments allows to correctly lookup the BootstrapMethodInvocation of some DynamicConstant.
>
> To lookup the constant at the index in the static arguments index list, an overloaded version of this method is required:
>
>
> /**
> * Gets the constant pool index of the pool entry associated with the
> * index in the static arguments list of a bootstrap method.
> *
> * @param index a constant pool index
> * @return the constant pool index associated with the static argument
> */
> int bootstrapArgumentIndexAt(int index)
Sacha Coppey has updated the pull request incrementally with one additional commit since the last revision:
Add missing line of pseudo code and applied modification suggestion
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/15588/files
- new: https://git.openjdk.org/jdk/pull/15588/files/b33ffed8..093d0cef
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=15588&range=03
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=15588&range=02-03
Stats: 9 lines in 2 files changed: 1 ins; 0 del; 8 mod
Patch: https://git.openjdk.org/jdk/pull/15588.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/15588/head:pull/15588
PR: https://git.openjdk.org/jdk/pull/15588
More information about the hotspot-compiler-dev
mailing list