diff a/src/hotspot/share/gc/z/zPage.inline.hpp b/src/hotspot/share/gc/z/zPage.inline.hpp --- a/src/hotspot/share/gc/z/zPage.inline.hpp +++ b/src/hotspot/share/gc/z/zPage.inline.hpp @@ -295,10 +295,14 @@ inline void ZPage::inc_live(uint32_t objects, size_t bytes) { _livemap.inc_live(objects, bytes); } +inline void ZPage::inc_will_expand(uint32_t objects) { + _livemap.inc_will_expand(objects); +} + #define assert_zpage_mark_state() \ do { \ assert(is_marked(), "Should be marked"); \ assert(!is_young() || !ZGeneration::young()->is_phase_mark(), "Wrong phase"); \ assert(!is_old() || !ZGeneration::old()->is_phase_mark(), "Wrong phase"); \