diff -r bd0a95bec96b -r 9042ffe5b7fe src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp --- a/src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp Fri May 04 09:29:14 2018 +0200 +++ b/src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp Fri May 04 11:41:35 2018 +0200 @@ -30,7 +30,7 @@ #include "gc/shared/modRefBarrierSet.inline.hpp" #include "gc/shared/cardTableBarrierSet.inline.hpp" -#if INCLUDE_ALL_GCS +#if INCLUDE_G1GC #include "gc/g1/g1BarrierSet.inline.hpp" // G1 support #endif