diff -r f5f2a2d13775 -r 817f2a7019e4 src/hotspot/share/memory/universe.cpp --- a/src/hotspot/share/memory/universe.cpp Mon Sep 18 15:06:28 2017 +0200 +++ b/src/hotspot/share/memory/universe.cpp Thu Oct 12 15:08:19 2017 +0200 @@ -84,6 +84,7 @@ #include "utilities/preserveException.hpp" #if INCLUDE_ALL_GCS #include "gc/cms/cmsCollectorPolicy.hpp" +#include "gc/cms/cmsHeap.hpp" #include "gc/g1/g1CollectedHeap.inline.hpp" #include "gc/g1/g1CollectorPolicy.hpp" #include "gc/parallel/parallelScavengeHeap.hpp" @@ -758,7 +759,7 @@ } else if (UseG1GC) { return Universe::create_heap_with_policy(); } else if (UseConcMarkSweepGC) { - return Universe::create_heap_with_policy(); + return Universe::create_heap_with_policy(); #endif } else if (UseSerialGC) { return Universe::create_heap_with_policy();