< prev index next >

src/hotspot/cpu/arm/vtableStubs_arm.cpp

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

*** 156,167 **** __ ldr(PC, Address(Rmethod, Method::from_compiled_offset())); #endif // AARCH64 __ bind(L_no_such_interface); ! assert(StubRoutines::throw_IncompatibleClassChangeError_entry() != NULL, "check initialization order"); ! __ jump(StubRoutines::throw_IncompatibleClassChangeError_entry(), relocInfo::runtime_call_type, Rtemp); masm->flush(); if (PrintMiscellaneous && (WizardMode || Verbose)) { tty->print_cr("itable #%d at " PTR_FORMAT "[%d] left over: %d", --- 156,172 ---- __ ldr(PC, Address(Rmethod, Method::from_compiled_offset())); #endif // AARCH64 __ 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. ! assert(SharedRuntime::get_handle_wrong_method_stub() != NULL, "check initialization order"); ! __ jump(SharedRuntime::get_handle_wrong_method_stub(), relocInfo::runtime_call_type, Rtemp); masm->flush(); if (PrintMiscellaneous && (WizardMode || Verbose)) { tty->print_cr("itable #%d at " PTR_FORMAT "[%d] left over: %d",
< prev index next >