RFR: [JVMCI] ConstantPool should not force eager resolution [v2]

Doug Simon dnsimon at openjdk.org
Thu Jul 20 18:17:45 UTC 2023


On Thu, 20 Jul 2023 18:08:16 GMT, Tom Rodriguez <never at openjdk.org> wrote:

>> Doug Simon has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   avoid bootstrap method invocation by lookupBootstrapMethodInfo
>
> src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/HotSpotConstantPool.java line 666:
> 
>> 664:                  * entries do not have a symbol in the constant pool slot.
>> 665:                  */
>> 666:                 return compilerToVM().lookupConstantInPool(this, cpi, true);
> 
> This is true because it's always safe to do so?

I don't really know what these "pseudo strings" are. In any case, I don't think resolving them involves calling any Java code.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14927#discussion_r1269807593


More information about the hotspot-compiler-dev mailing list