diff a/src/hotspot/share/gc/z/zPage.hpp b/src/hotspot/share/gc/z/zPage.hpp --- a/src/hotspot/share/gc/z/zPage.hpp +++ b/src/hotspot/share/gc/z/zPage.hpp @@ -133,10 +133,11 @@ bool is_object_marked_strong(zaddress addr) const; bool is_object_marked(zaddress addr, bool finalizable) const; bool mark_object(zaddress addr, bool finalizable, bool& inc_live); void inc_live(uint32_t objects, size_t bytes); + void inc_will_expand(uint32_t objects); uint32_t live_objects() const; size_t live_bytes() const; template void object_iterate(Function function); @@ -190,11 +191,11 @@ void print() const; // Verification bool was_remembered(volatile zpointer* p); bool is_remembered(volatile zpointer* p); - void verify_live(uint32_t live_objects, size_t live_bytes, bool in_place) const; + void verify_live(uint32_t live_objects, size_t live_bytes, uint32_t no_move_expand_count, bool in_place) const; void fatal_msg(const char* msg) const; }; class ZPageClosure {