--- old/src/hotspot/share/opto/graphKit.cpp 2018-04-27 15:29:30.462203382 +0200 +++ new/src/hotspot/share/opto/graphKit.cpp 2018-04-27 15:29:30.222203390 +0200 @@ -49,7 +49,9 @@ #include "runtime/deoptimization.hpp" #include "runtime/sharedRuntime.hpp" #if INCLUDE_ALL_GCS +#include "gc/g1/g1CardTable.hpp" #include "gc/g1/g1ThreadLocalData.hpp" +#include "gc/g1/heapRegion.hpp" #endif // INCLUDE_ALL_GCS //----------------------------GraphKit-----------------------------------------