RFR: 8339299: C1 will miss type profile when inline final method
Dean Long
dlong at openjdk.org
Fri Aug 30 23:48:28 UTC 2024
On Fri, 30 Aug 2024 23:03:38 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:
>> Would it be more appropriate to use can_be_statically_bound(ciInstanceKlass* context) here, where in this case _profiled_callee is Child1 and context is Parent?
>
> That's definitely an option, but then you need to determine the context. Do you propose to use declared method holder as a context here?
Yes, exactly.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/20786#discussion_r1739524607
More information about the hotspot-compiler-dev
mailing list