--- a/src/hotspot/share/gc/shared/gcVMOperations.hpp Tue Sep 10 14:52:53 2019 +0800
+++ b/src/hotspot/share/gc/shared/gcVMOperations.hpp Tue Sep 10 09:24:05 2019 +0200
@@ -28,6 +28,7 @@
#include "gc/shared/collectedHeap.hpp"
#include "gc/shared/genCollectedHeap.hpp"
#include "memory/heapInspection.hpp"
+#include "memory/metaspace/metaspaceEnums.hpp"
#include "prims/jvmtiExport.hpp"
#include "runtime/handles.hpp"
#include "runtime/jniHandles.hpp"
@@ -206,13 +207,13 @@
private:
MetaWord* _result;
size_t _size; // size of object to be allocated
- Metaspace::MetadataType _mdtype;
+ metaspace::MetadataType _mdtype;
ClassLoaderData* _loader_data;
public:
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);