--- a/src/hotspot/share/gc/shared/collectedHeap.hpp Tue Sep 10 14:52:53 2019 +0800
+++ b/src/hotspot/share/gc/shared/collectedHeap.hpp Tue Sep 10 09:24:05 2019 +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"
@@ -362,7 +363,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