< prev index next >

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

Print this page




 118 
 119   ZForwarding* const forwarding = _forwarding_table.get(addr);
 120   if (forwarding == NULL) {
 121     // Not forwarding
 122     return ZAddress::good(addr);
 123   }
 124 
 125   // Forward object
 126   return _relocate.forward_object(forwarding, addr);
 127 }
 128 
 129 inline bool ZHeap::is_alloc_stalled() const {
 130   return _page_allocator.is_alloc_stalled();
 131 }
 132 
 133 inline void ZHeap::check_out_of_memory() {
 134   _page_allocator.check_out_of_memory();
 135 }
 136 
 137 inline bool ZHeap::is_oop(oop object) const {
 138   return ZAddress::is_good(ZOop::to_address(object));
 139 }
 140 
 141 #endif // SHARE_GC_Z_ZHEAP_INLINE_HPP


 118 
 119   ZForwarding* const forwarding = _forwarding_table.get(addr);
 120   if (forwarding == NULL) {
 121     // Not forwarding
 122     return ZAddress::good(addr);
 123   }
 124 
 125   // Forward object
 126   return _relocate.forward_object(forwarding, addr);
 127 }
 128 
 129 inline bool ZHeap::is_alloc_stalled() const {
 130   return _page_allocator.is_alloc_stalled();
 131 }
 132 
 133 inline void ZHeap::check_out_of_memory() {
 134   _page_allocator.check_out_of_memory();
 135 }
 136 
 137 inline bool ZHeap::is_oop(oop object) const {
 138   return ZOop::is_good(object);
 139 }
 140 
 141 #endif // SHARE_GC_Z_ZHEAP_INLINE_HPP
< prev index next >