< prev index next >

src/hotspot/cpu/x86/vtableStubs_x86_64.cpp

Print this page
rev 49017 : 8197405: Improve messages of AbstractMethodErrors and IncompatibleClassChangeErrors.
Reviewed-by: coleenp, dholmes

*** 211,221 **** // j_rarg0: receiver address ame_addr = __ pc(); __ jmp(Address(method, Method::from_compiled_offset())); __ bind(L_no_such_interface); ! __ jump(RuntimeAddress(StubRoutines::throw_IncompatibleClassChangeError_entry())); __ flush(); if (PrintMiscellaneous && (WizardMode || Verbose)) { tty->print_cr("itable #%d at " PTR_FORMAT "[%d] left over: %d", --- 211,226 ---- // j_rarg0: receiver address ame_addr = __ pc(); __ jmp(Address(method, Method::from_compiled_offset())); __ bind(L_no_such_interface); ! // Handle IncompatibleClassChangeError in itable stubs. ! // More detailed error message. ! // We force resolving of the call site by jumping to the "handle ! // wrong method" stub, and so let the interpreter runtime do all the ! // dirty work. ! __ jump(RuntimeAddress(SharedRuntime::get_handle_wrong_method_stub())); __ flush(); if (PrintMiscellaneous && (WizardMode || Verbose)) { tty->print_cr("itable #%d at " PTR_FORMAT "[%d] left over: %d",
< prev index next >