diff -r 1558266946de -r 54750b448264 src/hotspot/share/gc/shared/collectedHeap.hpp --- a/src/hotspot/share/gc/shared/collectedHeap.hpp Tue Nov 26 11:29:20 2019 +0100 +++ b/src/hotspot/share/gc/shared/collectedHeap.hpp Tue Nov 26 16:21:29 2019 +0100 @@ -29,7 +29,7 @@ #include "gc/shared/gcWhen.hpp" #include "gc/shared/verifyOption.hpp" #include "memory/allocation.hpp" -#include "memory/metaspace/metaspaceEnums.hpp" +#include "memory/metaspace.hpp" #include "runtime/handles.hpp" #include "runtime/perfData.hpp" #include "runtime/safepoint.hpp" @@ -358,7 +358,7 @@ virtual MetaWord* satisfy_failed_metadata_allocation(ClassLoaderData* loader_data, size_t size, - metaspace::MetadataType mdtype); + Metaspace::MetadataType mdtype); // Returns "true" iff there is a stop-world GC in progress. (I assume // that it should answer "false" for the concurrent part of a concurrent