< prev index next >

src/hotspot/share/gc/g1/g1HeapVerifier.cpp

Print this page

        

@@ -69,11 +69,11 @@
       if (_g1h->is_obj_dead_cond(obj, _vo)) {
         Log(gc, verify) log;
         log.error("Root location " PTR_FORMAT " points to dead obj " PTR_FORMAT, p2i(p), p2i(obj));
         ResourceMark rm;
         LogStream ls(log.error());
-        obj->print_on(&ls);
+        oopDesc::print_on(&ls, obj);
         _failures = true;
       }
     }
   }
 
< prev index next >