8221763: Build fails when using --with-jvm-features=-g1gc,-jfr,-shenandoahgc
authoraoqi
Tue, 02 Apr 2019 00:23:31 +0800
changeset 54371 72e44c1e7dc6
parent 54370 e057e45b49af
child 54372 9ac5d41abf68
8221763: Build fails when using --with-jvm-features=-g1gc,-jfr,-shenandoahgc Summary: Add missing #include of softRefPolicy.hpp Reviewed-by: kbarrett
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"