--- a/src/hotspot/share/memory/metaspace/spaceManager.cpp Wed Nov 06 17:13:26 2019 +0100 +++ b/src/hotspot/share/memory/metaspace/spaceManager.cpp Fri Nov 15 10:11:04 2019 +0100 @@ -138,6 +138,7 @@ { bool ignored; c->allocate(1, &ignored); + _total_used_words_counter->increment(); } return c;