--- old/src/hotspot/share/precompiled/precompiled.hpp 2018-04-27 15:30:10.066202002 +0200 +++ new/src/hotspot/share/precompiled/precompiled.hpp 2018-04-27 15:30:09.818202011 +0200 @@ -84,8 +84,6 @@ # include "compiler/disassembler.hpp" # include "compiler/methodLiveness.hpp" # include "compiler/oopMap.hpp" -# include "gc/serial/cSpaceCounters.hpp" -# include "gc/serial/defNewGeneration.hpp" # include "gc/shared/adaptiveSizePolicy.hpp" # include "gc/shared/ageTable.hpp" # include "gc/shared/barrierSet.hpp" @@ -294,7 +292,7 @@ #if INCLUDE_JVMCI # include "jvmci/jvmci_globals.hpp" #endif // INCLUDE_JVMCI -#if INCLUDE_ALL_GCS +#if INCLUDE_CMSGC # include "gc/cms/allocationStats.hpp" # include "gc/cms/compactibleFreeListSpace.hpp" # include "gc/cms/concurrentMarkSweepGeneration.hpp" @@ -326,8 +324,10 @@ # include "gc/parallel/psVirtualspace.hpp" # include "gc/parallel/psYoungGen.hpp" # include "gc/parallel/spaceCounters.hpp" -# include "gc/shared/gcPolicyCounters.hpp" -# include "gc/shared/plab.hpp" -#endif // INCLUDE_ALL_GCS +#endif // INCLUDE_PARALLELGC +#if INCLUDE_SERIALGC +# include "gc/serial/cSpaceCounters.hpp" +# include "gc/serial/defNewGeneration.hpp" +#endif // INCLUDE_SERIALGC #endif // !DONT_USE_PRECOMPILED_HEADER