diff -r f7236b46b60c -r 82adcc8ad853 src/hotspot/share/code/compiledIC.cpp --- a/src/hotspot/share/code/compiledIC.cpp Mon Aug 06 13:57:26 2018 -0400 +++ b/src/hotspot/share/code/compiledIC.cpp Mon Aug 06 14:20:58 2018 -0400 @@ -252,6 +252,7 @@ if (TraceICs) { ResourceMark rm; + assert(!call_info->selected_method().is_null(), "Unexpected null selected method"); tty->print_cr ("IC@" INTPTR_FORMAT ": to megamorphic %s entry: " INTPTR_FORMAT, p2i(instruction_address()), call_info->selected_method()->print_value_string(), p2i(entry)); }