RFR: 8338471: Assert deleted methods not returned by CallInfo

Coleen Phillimore coleenp at openjdk.org
Fri Sep 20 12:37:35 UTC 2024


On Wed, 18 Sep 2024 22:39:11 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> CompiledIC can get old methods, but it can't get deleted methods for itable and vtable calls, so add a guarantee and asserts that this cannot happen before dereferencing.  Removed unused function and unnecessary methodHandle operator.
> Tested with tier1-4 and 8 which does a lot of redefinition.

So this was flagged by our source code analysis tool, which ignores asserts and debug only code, which is why I added them as guarantees.

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

PR Comment: https://git.openjdk.org/jdk/pull/21075#issuecomment-2363636593


More information about the hotspot-dev mailing list