src/hotspot/share/runtime/os.cpp
changeset 57745 789e967c2731
parent 55736 2660d47140da
child 57855 00bf1e66de11
equal deleted inserted replaced
57739:6717d7e59db4 57745:789e967c2731
  1080       if ((HeapWord*)o == (HeapWord*)addr) {
  1080       if ((HeapWord*)o == (HeapWord*)addr) {
  1081         st->print(INTPTR_FORMAT " is an oop: ", p2i(addr));
  1081         st->print(INTPTR_FORMAT " is an oop: ", p2i(addr));
  1082       } else {
  1082       } else {
  1083         st->print(INTPTR_FORMAT " is pointing into object: " , p2i(addr));
  1083         st->print(INTPTR_FORMAT " is pointing into object: " , p2i(addr));
  1084       }
  1084       }
       
  1085       ResourceMark rm;
  1085       o->print_on(st);
  1086       o->print_on(st);
  1086       return;
  1087       return;
  1087     }
  1088     }
  1088   } else if (Universe::heap()->is_in_reserved(addr)) {
  1089   } else if (Universe::heap()->is_in_reserved(addr)) {
  1089     st->print_cr(INTPTR_FORMAT " is an unallocated location in the heap", p2i(addr));
  1090     st->print_cr(INTPTR_FORMAT " is an unallocated location in the heap", p2i(addr));