--- a/src/hotspot/share/gc/shared/gcVMOperations.cpp Tue Sep 10 14:52:53 2019 +0800
+++ b/src/hotspot/share/gc/shared/gcVMOperations.cpp Tue Sep 10 09:24:05 2019 +0200
@@ -32,6 +32,8 @@
#include "gc/shared/genCollectedHeap.hpp"
#include "interpreter/oopMapCache.hpp"
#include "logging/log.hpp"
+#include "memory/metaspace/classLoaderMetaspace.hpp"
+#include "memory/metaspace/metaspaceEnums.hpp"
#include "memory/oopFactory.hpp"
#include "memory/universe.hpp"
#include "runtime/handles.inline.hpp"
@@ -180,7 +182,7 @@
VM_CollectForMetadataAllocation::VM_CollectForMetadataAllocation(ClassLoaderData* loader_data,
size_t size,
- Metaspace::MetadataType mdtype,
+ metaspace::MetadataType mdtype,
uint gc_count_before,
uint full_gc_count_before,
GCCause::Cause gc_cause)