changeset 46968 | 9119841280f4 |
parent 46701 | f559541c0daa |
child 46969 | d4db878f22f3 |
--- a/hotspot/src/share/vm/runtime/os.cpp Wed Aug 23 10:25:25 2017 +0200 +++ b/hotspot/src/share/vm/runtime/os.cpp Wed Aug 23 14:52:55 2017 -0400 @@ -988,7 +988,7 @@ // 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; }