--- a/src/hotspot/share/gc/shared/jvmFlagConstraintsGC.hpp Fri May 04 17:02:19 2018 +0100
+++ b/src/hotspot/share/gc/shared/jvmFlagConstraintsGC.hpp Fri May 04 17:28:03 2018 +0100
@@ -27,9 +27,13 @@
#include "utilities/globalDefinitions.hpp"
#include "utilities/macros.hpp"
-#if INCLUDE_ALL_GCS
+#if INCLUDE_CMSGC
#include "gc/cms/jvmFlagConstraintsCMS.hpp"
+#endif
+#if INCLUDE_G1GC
#include "gc/g1/jvmFlagConstraintsG1.hpp"
+#endif
+#if INCLUDE_PARALLELGC
#include "gc/parallel/jvmFlagConstraintsParallel.hpp"
#endif