--- old/src/share/vm/memory/universe.cpp 2015-10-14 13:54:08.454028865 +0200 +++ new/src/share/vm/memory/universe.cpp 2015-10-14 13:54:08.344031524 +0200 @@ -75,6 +75,8 @@ #include "utilities/macros.hpp" #include "utilities/preserveException.hpp" #if INCLUDE_ALL_GCS +#include "gc/shenandoah/shenandoahHeap.hpp" +#include "gc/shenandoah/shenandoahCollectorPolicy.hpp" #include "gc/cms/cmsCollectorPolicy.hpp" #include "gc/g1/g1CollectedHeap.inline.hpp" #include "gc/g1/g1CollectorPolicy.hpp" @@ -703,6 +705,9 @@ fatal("UseG1GC not supported in this VM."); } else if (UseConcMarkSweepGC) { fatal("UseConcMarkSweepGC not supported in this VM."); + } else if (UseShenandoahGC) { + fatal("UseShenandoahGC not supported in this VM."); + } #else if (UseParallelGC) { return Universe::create_heap_with_policy(); @@ -710,6 +715,8 @@ return Universe::create_heap_with_policy(); } else if (UseConcMarkSweepGC) { return Universe::create_heap_with_policy(); + } else if (UseShenandoahGC) { + return Universe::create_heap_with_policy(); #endif } else if (UseSerialGC) { return Universe::create_heap_with_policy();