--- old/src/hotspot/share/code/nmethod.cpp 2018-07-16 15:03:31.403140362 -0400 +++ new/src/hotspot/share/code/nmethod.cpp 2018-07-16 15:03:30.999563015 -0400 @@ -1036,7 +1036,7 @@ "), cause(" INTPTR_FORMAT ") ", p2i(this), p2i(_method), p2i(cause)); if (cause != NULL) { - cause->print_value_on(&ls); + oopDesc::print_value_on(&ls, cause); } ls.cr(); } @@ -2367,7 +2367,7 @@ oop obj = r->oop_value(); st.print("oop("); if (obj == NULL) st.print("NULL"); - else obj->print_value_on(&st); + else oopDesc::print_value_on(&st, obj); st.print(")"); return st.as_string(); }