diff -r bd0a95bec96b -r 9042ffe5b7fe src/hotspot/share/gc/shared/jvmFlagConstraintsGC.hpp --- a/src/hotspot/share/gc/shared/jvmFlagConstraintsGC.hpp Fri May 04 09:29:14 2018 +0200 +++ b/src/hotspot/share/gc/shared/jvmFlagConstraintsGC.hpp Fri May 04 11:41:35 2018 +0200 @@ -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