RFR: 8338471: Refactor Method::get_new_method() for better NoSuchMethodError handling
Dean Long
dlong at openjdk.org
Thu Sep 12 03:42:05 UTC 2024
On Fri, 6 Sep 2024 12:51:38 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
> We do the same thing with illegal_access_error() where the arguments may not match and there's a special case for this and no_such_method_error() in dependencies. Are the compilers confused by this too?
If the compiler used the value from the itable, I think it could get confused. There are places in deoptimization for example, that use the callee signature instead of the call-site signature, to deal with signature mismatch caused by the invokedynamic appendix.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20874#issuecomment-2345203264
More information about the serviceability-dev
mailing list