RFR: 8338471: Assert deleted methods not returned by CallInfo

Coleen Phillimore coleenp at openjdk.org
Thu Sep 19 18:28:05 UTC 2024


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.

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

Commit messages:
 - 8338471: Assert deleted methods not returned by CallInfo

Changes: https://git.openjdk.org/jdk/pull/21075/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21075&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8338471
  Stats: 11 lines in 4 files changed: 4 ins; 1 del; 6 mod
  Patch: https://git.openjdk.org/jdk/pull/21075.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21075/head:pull/21075

PR: https://git.openjdk.org/jdk/pull/21075


More information about the hotspot-dev mailing list