< prev index next >
src/share/vm/runtime/os.cpp
Print this page
*** 986,996 ****
bool print = false;
// If we couldn't find it it just may mean that heap wasn't parsable
// See if we were just given an oop directly
if (p != NULL && Universe::heap()->block_is_obj(p)) {
print = true;
! } else if (p == NULL && ((oopDesc*)addr)->is_oop()) {
p = (HeapWord*) addr;
print = true;
}
if (print) {
if (p == (HeapWord*) addr) {
--- 986,996 ----
bool print = false;
// If we couldn't find it it just may mean that heap wasn't parsable
// See if we were just given an oop directly
if (p != NULL && Universe::heap()->block_is_obj(p)) {
print = true;
! } else if (p == NULL && oopDesc::is_oop(oop(addr))) {
p = (HeapWord*) addr;
print = true;
}
if (print) {
if (p == (HeapWord*) addr) {
< prev index next >