RFR: 8338471: Assert deleted methods not returned by CallInfo
Aleksey Shipilev
shade at openjdk.org
Fri Sep 20 07:30: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.
Looks okay, but do some of these _need_ to be `guarantee`-s, or just `assert` would be enough? I would prefer to keep release bit paths very efficient, if only for startup/Leyden :)
-------------
PR Review: https://git.openjdk.org/jdk/pull/21075#pullrequestreview-2317479948
More information about the hotspot-dev
mailing list