8221763: Build fails when using --with-jvm-features=-g1gc,-jfr,-shenandoahgc
Summary: Add missing #include of softRefPolicy.hpp
Reviewed-by: kbarrett
--- 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"