RFR: 8293336: AOT-linking of invokedynamic for lambda expression and string concat [v4]
Chen Liang
liach at openjdk.org
Fri Oct 18 21:30:09 UTC 2024
On Fri, 18 Oct 2024 17:47:00 GMT, Dan Heidinga <heidinga at openjdk.org> wrote:
>> This is correct for the LMF, but I think we are using weak hidden classes in string concatenation.
>
> I just confirmed - the `InlineHiddenClassStrategy` in j.l.i.StringConcatFactory uses weak hidden classes. It looks like there are two possible strategies though, and the InlineHiddenClassStrategy is only used if the MH strategy fails (more parameters than the high arity threshold)
Currently the high arity threshold is 0, meaning weak hidden classes are always used.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/21143#discussion_r1807029898
More information about the hotspot-dev
mailing list