--- old/src/hotspot/share/prims/whitebox.cpp 2018-03-22 17:04:14.644830077 +0100 +++ new/src/hotspot/share/prims/whitebox.cpp 2018-03-22 17:04:14.444830083 +0100 @@ -32,6 +32,7 @@ #include "code/codeCache.hpp" #include "compiler/methodMatcher.hpp" #include "compiler/directivesParser.hpp" +#include "gc/shared/genCollectedHeap.hpp" #include "jvmtifiles/jvmtiEnv.hpp" #include "memory/metadataFactory.hpp" #include "memory/metaspaceShared.hpp"