< prev index next >

src/hotspot/share/gc/z/zCollectedHeap.cpp

Print this page

        

*** 363,378 **** void ZCollectedHeap::verify(VerifyOption option /* ignored */) { _heap.verify(); } ! bool ZCollectedHeap::is_oop(oop object) const { ! return CollectedHeap::is_oop(object) && _heap.is_oop(object); } ! void ZCollectedHeap::check_oop_location(void* addr) const { ! assert(is_object_aligned(addr), "address is not aligned"); ! ! const uintptr_t addr_int = reinterpret_cast<uintptr_t>(addr); ! assert(addr_int >= ZAddressSpaceStart, "address is outside of the heap"); ! assert(addr_int < ZAddressSpaceEnd, "address is outside of the heap"); } --- 363,376 ---- void ZCollectedHeap::verify(VerifyOption option /* ignored */) { _heap.verify(); } ! bool ZCollectedHeap::is_oop_location(void* addr) const { ! return is_object_aligned(addr) && ! (uintptr_t)addr >= ZAddressSpaceStart && ! (uintptr_t)addr < ZAddressSpaceEnd; } ! bool ZCollectedHeap::is_oop(oop object) const { ! return CollectedHeap::is_oop(object) && _heap.is_oop(object); }
< prev index next >