src/hotspot/share/gc/z/zCollectedHeap.cpp
branchstuefe-new-metaspace-branch
changeset 58063 bdf136b8ae0e
parent 58015 dd84de796f2c
child 58199 595fcbebaa77
--- a/src/hotspot/share/gc/z/zCollectedHeap.cpp	Tue Sep 10 14:52:53 2019 +0800
+++ b/src/hotspot/share/gc/z/zCollectedHeap.cpp	Tue Sep 10 09:24:05 2019 +0200
@@ -33,6 +33,8 @@
 #include "gc/z/zServiceability.hpp"
 #include "gc/z/zStat.hpp"
 #include "gc/z/zUtils.inline.hpp"
+#include "memory/metaspace/classLoaderMetaspace.hpp"
+#include "memory/metaspace/metaspaceEnums.hpp"
 #include "memory/universe.hpp"
 #include "runtime/mutexLocker.hpp"
 
@@ -145,7 +147,7 @@
 
 MetaWord* ZCollectedHeap::satisfy_failed_metadata_allocation(ClassLoaderData* loader_data,
                                                              size_t size,
-                                                             Metaspace::MetadataType mdtype) {
+                                                             metaspace::MetadataType mdtype) {
   MetaWord* result;
 
   // Start asynchronous GC