On Fri, 18 Oct 2024 17:47:00 GMT, Dan Heidinga <heidi...@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

Reply via email to