< prev index next >

src/hotspot/share/gc/z/zHeap.inline.hpp

Print this page

        

@@ -133,9 +133,9 @@
 inline void ZHeap::check_out_of_memory() {
   _page_allocator.check_out_of_memory();
 }
 
 inline bool ZHeap::is_oop(oop object) const {
-  return ZAddress::is_good(ZOop::to_address(object));
+  return ZOop::is_good(object);
 }
 
 #endif // SHARE_GC_Z_ZHEAP_INLINE_HPP
< prev index next >