--- old/src/hotspot/share/gc/g1/g1MonitoringSupport.cpp 2018-04-17 11:59:39.860475204 -0400 +++ new/src/hotspot/share/gc/g1/g1MonitoringSupport.cpp 2018-04-17 11:59:39.171411596 -0400 @@ -27,6 +27,7 @@ #include "gc/g1/g1MonitoringSupport.hpp" #include "gc/g1/g1Policy.hpp" #include "gc/shared/hSpaceCounters.hpp" +#include "memory/metaspaceCounters.hpp" G1GenerationCounters::G1GenerationCounters(G1MonitoringSupport* g1mm, const char* name,