--- old/src/hotspot/share/gc/z/zHeap.cpp 2020-01-21 11:14:25.765096193 +0100 +++ new/src/hotspot/share/gc/z/zHeap.cpp 2020-01-21 11:14:25.232085418 +0100 @@ -31,7 +31,7 @@ #include "gc/z/zPage.inline.hpp" #include "gc/z/zPageTable.inline.hpp" #include "gc/z/zRelocationSet.inline.hpp" -#include "gc/z/zRelocationSetSelector.hpp" +#include "gc/z/zRelocationSetSelector.inline.hpp" #include "gc/z/zResurrection.hpp" #include "gc/z/zStat.hpp" #include "gc/z/zThread.inline.hpp" @@ -412,9 +412,12 @@ } // Update statistics - ZStatRelocation::set_at_select_relocation_set(selector.relocating()); - ZStatHeap::set_at_select_relocation_set(selector.live(), - selector.garbage(), + ZStatRelocation::set_at_select_relocation_set(selector.stats_small(), + selector.stats_medium(), + selector.stats_large()); + ZStatHeap::set_at_select_relocation_set(selector.stats_small(), + selector.stats_medium(), + selector.stats_large(), reclaimed()); }