< prev index next >
src/hotspot/share/code/nmethod.cpp
Print this page
@@ -1034,11 +1034,11 @@
ls.print("making nmethod " INTPTR_FORMAT
" unloadable, Method*(" INTPTR_FORMAT
"), 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();
}
// Unlink the osr method, so we do not look this up again
if (is_osr_method()) {
@@ -2365,11 +2365,11 @@
stringStream st;
oop_Relocation* r = iter.oop_reloc();
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();
}
case relocInfo::metadata_type: {
stringStream st;
< prev index next >