--- old/src/hotspot/share/gc/g1/g1MonitoringSupport.cpp 2018-04-27 15:30:50.894200580 +0200 +++ new/src/hotspot/share/gc/g1/g1MonitoringSupport.cpp 2018-04-27 15:30:50.642200589 +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"