RFR: 8339299: C1 will miss type profile when inline final method

kuaiwei duke at openjdk.org
Wed Sep 18 01:47:05 UTC 2024


On Fri, 30 Aug 2024 22:23:22 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:

>>> > In c2 compilation, the CHA is broken
>>> 
>>> What do you mean by that?
>> 
>> It looks like the test invalidates the initial CHA optimazation that was done when there was only one subclass by loading a 2nd subclass.
>
>> It looks like the test invalidates the initial CHA optimazation that was done when there was only one subclass by loading a 2nd subclass.
> 
> Moreover, CHA has to discover a final method in order to satisfy `can_be_statically_bound()` predicate.

@iwanowww @lmesnik Thanks for your review. Could you help sponsor it?

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

PR Comment: https://git.openjdk.org/jdk/pull/20786#issuecomment-2357320618


More information about the hotspot-compiler-dev mailing list