< prev index next >
src/hotspot/share/services/memReporter.hpp
Print this page
rev 57601 : [mq]: metaspace-improvement
*** 25,35 ****
#ifndef SHARE_SERVICES_MEMREPORTER_HPP
#define SHARE_SERVICES_MEMREPORTER_HPP
#if INCLUDE_NMT
! #include "memory/metaspace.hpp"
#include "oops/instanceKlass.hpp"
#include "services/memBaseline.hpp"
#include "services/nmtCommon.hpp"
#include "services/mallocTracker.hpp"
#include "services/virtualMemoryTracker.hpp"
--- 25,35 ----
#ifndef SHARE_SERVICES_MEMREPORTER_HPP
#define SHARE_SERVICES_MEMREPORTER_HPP
#if INCLUDE_NMT
! #include "memory/metaspace/metaspaceEnums.hpp"
#include "oops/instanceKlass.hpp"
#include "services/memBaseline.hpp"
#include "services/nmtCommon.hpp"
#include "services/mallocTracker.hpp"
#include "services/virtualMemoryTracker.hpp"
*** 112,122 ****
private:
// Report summary for each memory type
void report_summary_of_type(MEMFLAGS type, MallocMemory* malloc_memory,
VirtualMemory* virtual_memory);
! void report_metadata(Metaspace::MetadataType type) const;
};
/*
* The class is for generating detail tracking report.
*/
--- 112,122 ----
private:
// Report summary for each memory type
void report_summary_of_type(MEMFLAGS type, MallocMemory* malloc_memory,
VirtualMemory* virtual_memory);
! void report_metadata(metaspace::MetadataType type) const;
};
/*
* The class is for generating detail tracking report.
*/
*** 187,197 ****
void print_arena_diff(size_t current_amount, size_t current_count,
size_t early_amount, size_t early_count) const;
void print_metaspace_diff(const MetaspaceSnapshot* current_ms,
const MetaspaceSnapshot* early_ms) const;
! void print_metaspace_diff(Metaspace::MetadataType type,
const MetaspaceSnapshot* current_ms, const MetaspaceSnapshot* early_ms) const;
};
/*
* The class is for generating detail comparison report.
--- 187,197 ----
void print_arena_diff(size_t current_amount, size_t current_count,
size_t early_amount, size_t early_count) const;
void print_metaspace_diff(const MetaspaceSnapshot* current_ms,
const MetaspaceSnapshot* early_ms) const;
! void print_metaspace_diff(metaspace::MetadataType type,
const MetaspaceSnapshot* current_ms, const MetaspaceSnapshot* early_ms) const;
};
/*
* The class is for generating detail comparison report.
< prev index next >