# HG changeset patch # User aoqi # Date 1554135811 -28800 # Node ID 72e44c1e7dc6982aedfce7cbdb0b45ec11cf772f # Parent e057e45b49aff520a145fe159e055a37e9f93e62 8221763: Build fails when using --with-jvm-features=-g1gc,-jfr,-shenandoahgc Summary: Add missing #include of softRefPolicy.hpp Reviewed-by: kbarrett 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"