< prev index next >
src/share/vm/runtime/os.cpp
Print this page
@@ -986,11 +986,11 @@
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()) {
+ } else if (p == NULL && oopDesc::is_oop(oop(addr))) {
p = (HeapWord*) addr;
print = true;
}
if (print) {
if (p == (HeapWord*) addr) {
< prev index next >