--- a/src/hotspot/share/services/memReporter.hpp Tue Nov 26 11:29:20 2019 +0100
+++ b/src/hotspot/share/services/memReporter.hpp Tue Nov 26 16:21:29 2019 +0100
@@ -27,7 +27,7 @@
#if INCLUDE_NMT
-#include "memory/metaspace/metaspaceEnums.hpp"
+#include "memory/metaspace.hpp"
#include "oops/instanceKlass.hpp"
#include "services/memBaseline.hpp"
#include "services/nmtCommon.hpp"
@@ -114,7 +114,7 @@
void report_summary_of_type(MEMFLAGS type, MallocMemory* malloc_memory,
VirtualMemory* virtual_memory);
- void report_metadata(metaspace::MetadataType type) const;
+ void report_metadata(Metaspace::MetadataType type) const;
};
/*
@@ -189,7 +189,7 @@
void print_metaspace_diff(const MetaspaceSnapshot* current_ms,
const MetaspaceSnapshot* early_ms) const;
- void print_metaspace_diff(metaspace::MetadataType type,
+ void print_metaspace_diff(Metaspace::MetadataType type,
const MetaspaceSnapshot* current_ms, const MetaspaceSnapshot* early_ms) const;
};