--- old/src/share/vm/runtime/handles.cpp 2017-06-20 16:28:46.362318352 -0400 +++ new/src/share/vm/runtime/handles.cpp 2017-06-20 16:28:45.762315377 -0400 @@ -100,8 +100,10 @@ // This test can be moved up but for now check every oop. assert((*bottom)->is_oop(), "handle should point to oop"); - - f->do_oop(bottom++); + if (Universe::heap()->is_in_reserved_or_null(*bottom)) { + f->do_oop(bottom); + } + bottom++; } return handles_visited; }