diff -r bd0a95bec96b -r 9042ffe5b7fe src/hotspot/share/gc/serial/tenuredGeneration.cpp --- a/src/hotspot/share/gc/serial/tenuredGeneration.cpp Fri May 04 09:29:14 2018 +0200 +++ b/src/hotspot/share/gc/serial/tenuredGeneration.cpp Fri May 04 11:41:35 2018 +0200 @@ -39,7 +39,7 @@ #include "oops/oop.inline.hpp" #include "runtime/java.hpp" #include "utilities/macros.hpp" -#if INCLUDE_ALL_GCS +#if INCLUDE_CMSGC #include "gc/cms/parOopClosures.hpp" #endif