< prev index next >
src/hotspot/share/gc/z/zHeap.inline.hpp
Print this page
@@ -132,10 +132,20 @@
inline void ZHeap::check_out_of_memory() {
_page_allocator.check_out_of_memory();
}
+inline void ZHeap::pin_allocating(uintptr_t page_start) {
+ ZPage* page = _page_table.get(page_start);
+ page->pin_allocating();
+}
+
+inline void ZHeap::unpin_allocating(uintptr_t page_start) {
+ ZPage* page = _page_table.get(page_start);
+ page->unpin_allocating();
+}
+
inline bool ZHeap::is_oop(oop object) const {
// Verify that we have a good address. Note that ZAddress::is_good()
// would not be a strong enough verification, since it only verifies
// that the metadata bits are good.
const uintptr_t addr = ZOop::to_address(object);
< prev index next >