--- old/src/hotspot/share/gc/g1/g1MonitoringSupport.cpp 2017-12-21 14:12:27.716608100 +0100 +++ new/src/hotspot/share/gc/g1/g1MonitoringSupport.cpp 2017-12-21 14:12:26.997865500 +0100 @@ -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,