diff -r f7236b46b60c -r 82adcc8ad853 src/hotspot/share/c1/c1_Runtime1.cpp --- a/src/hotspot/share/c1/c1_Runtime1.cpp Mon Aug 06 13:57:26 2018 -0400 +++ b/src/hotspot/share/c1/c1_Runtime1.cpp Mon Aug 06 14:20:58 2018 -0400 @@ -568,6 +568,7 @@ if (log_is_enabled(Info, exceptions)) { ResourceMark rm; stringStream tempst; + assert(nm->method() != NULL, "Unexpected NULL method()"); tempst.print("compiled method <%s>\n" " at PC" INTPTR_FORMAT " for thread " INTPTR_FORMAT, nm->method()->print_value_string(), p2i(pc), p2i(thread));