--- old/src/hotspot/share/gc/shared/collectedHeap.hpp 2019-08-04 08:11:39.368904574 +0200 +++ new/src/hotspot/share/gc/shared/collectedHeap.hpp 2019-08-04 08:11:39.152903927 +0200 @@ -29,6 +29,7 @@ #include "gc/shared/gcWhen.hpp" #include "gc/shared/verifyOption.hpp" #include "memory/allocation.hpp" +#include "memory/metaspace/metaspaceEnums.hpp" #include "runtime/handles.hpp" #include "runtime/perfData.hpp" #include "runtime/safepoint.hpp" @@ -366,7 +367,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