--- old/src/hotspot/share/c1/c1_Runtime1.cpp 2018-08-01 09:14:02.549151901 -0400 +++ new/src/hotspot/share/c1/c1_Runtime1.cpp 2018-08-01 09:14:02.050038394 -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));