--- old/src/share/vm/code/relocInfo.cpp 2017-05-23 10:05:38.483930973 +0200 +++ new/src/share/vm/code/relocInfo.cpp 2017-05-23 10:05:38.391930968 +0200 @@ -129,9 +129,9 @@ if (nm == NULL && begin != NULL) { // allow nmethod to be deduced from beginning address CodeBlob* cb = CodeCache::find_blob(begin); - nm = cb->as_compiled_method_or_null(); + nm = (cb != NULL) ? cb->as_compiled_method_or_null() : NULL; } - assert(nm != NULL, "must be able to deduce nmethod from other arguments"); + guarantee(nm != NULL, "must be able to deduce nmethod from other arguments"); _code = nm; _current = nm->relocation_begin() - 1;