--- old/src/hotspot/share/gc/g1/g1MonitoringSupport.cpp 2018-04-27 15:29:24.430203592 +0200 +++ new/src/hotspot/share/gc/g1/g1MonitoringSupport.cpp 2018-04-27 15:29:24.186203600 +0200 @@ -26,6 +26,7 @@ #include "gc/g1/g1CollectedHeap.inline.hpp" #include "gc/g1/g1MonitoringSupport.hpp" #include "gc/g1/g1Policy.hpp" +#include "gc/shared/collectorCounters.hpp" #include "gc/shared/hSpaceCounters.hpp" #include "memory/metaspaceCounters.hpp"