--- old/src/hotspot/share/gc/z/zHeap.inline.hpp 2019-07-08 17:19:18.062724988 +0000 +++ new/src/hotspot/share/gc/z/zHeap.inline.hpp 2019-07-08 17:19:17.794724710 +0000 @@ -134,6 +134,16 @@ _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