diff -r e057e45b49af -r 72e44c1e7dc6 src/hotspot/share/memory/metaspaceShared.cpp --- a/src/hotspot/share/memory/metaspaceShared.cpp Mon Apr 01 16:50:17 2019 -0700 +++ b/src/hotspot/share/memory/metaspaceShared.cpp Tue Apr 02 00:23:31 2019 +0800 @@ -36,6 +36,7 @@ #include "classfile/systemDictionary.hpp" #include "classfile/systemDictionaryShared.hpp" #include "code/codeCache.hpp" +#include "gc/shared/softRefPolicy.hpp" #include "interpreter/bytecodeStream.hpp" #include "interpreter/bytecodes.hpp" #include "logging/log.hpp"