equal
deleted
inserted
replaced
25 #ifndef SHARE_SERVICES_MEMREPORTER_HPP |
25 #ifndef SHARE_SERVICES_MEMREPORTER_HPP |
26 #define SHARE_SERVICES_MEMREPORTER_HPP |
26 #define SHARE_SERVICES_MEMREPORTER_HPP |
27 |
27 |
28 #if INCLUDE_NMT |
28 #if INCLUDE_NMT |
29 |
29 |
30 #include "memory/metaspace/metaspaceEnums.hpp" |
30 #include "memory/metaspace.hpp" |
31 #include "oops/instanceKlass.hpp" |
31 #include "oops/instanceKlass.hpp" |
32 #include "services/memBaseline.hpp" |
32 #include "services/memBaseline.hpp" |
33 #include "services/nmtCommon.hpp" |
33 #include "services/nmtCommon.hpp" |
34 #include "services/mallocTracker.hpp" |
34 #include "services/mallocTracker.hpp" |
35 #include "services/virtualMemoryTracker.hpp" |
35 #include "services/virtualMemoryTracker.hpp" |
112 private: |
112 private: |
113 // Report summary for each memory type |
113 // Report summary for each memory type |
114 void report_summary_of_type(MEMFLAGS type, MallocMemory* malloc_memory, |
114 void report_summary_of_type(MEMFLAGS type, MallocMemory* malloc_memory, |
115 VirtualMemory* virtual_memory); |
115 VirtualMemory* virtual_memory); |
116 |
116 |
117 void report_metadata(metaspace::MetadataType type) const; |
117 void report_metadata(Metaspace::MetadataType type) const; |
118 }; |
118 }; |
119 |
119 |
120 /* |
120 /* |
121 * The class is for generating detail tracking report. |
121 * The class is for generating detail tracking report. |
122 */ |
122 */ |
187 void print_arena_diff(size_t current_amount, size_t current_count, |
187 void print_arena_diff(size_t current_amount, size_t current_count, |
188 size_t early_amount, size_t early_count) const; |
188 size_t early_amount, size_t early_count) const; |
189 |
189 |
190 void print_metaspace_diff(const MetaspaceSnapshot* current_ms, |
190 void print_metaspace_diff(const MetaspaceSnapshot* current_ms, |
191 const MetaspaceSnapshot* early_ms) const; |
191 const MetaspaceSnapshot* early_ms) const; |
192 void print_metaspace_diff(metaspace::MetadataType type, |
192 void print_metaspace_diff(Metaspace::MetadataType type, |
193 const MetaspaceSnapshot* current_ms, const MetaspaceSnapshot* early_ms) const; |
193 const MetaspaceSnapshot* current_ms, const MetaspaceSnapshot* early_ms) const; |
194 }; |
194 }; |
195 |
195 |
196 /* |
196 /* |
197 * The class is for generating detail comparison report. |
197 * The class is for generating detail comparison report. |