mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
8010818: NPG: Remove metaspace memory pools
Reviewed-by: mgerdin, stefank
This commit is contained in:
parent
bed324d7f9
commit
cf6d13410c
9 changed files with 7 additions and 177 deletions
|
@ -56,7 +56,6 @@ public:
|
|||
enum Name {
|
||||
Abstract,
|
||||
CodeCache,
|
||||
Metaspace,
|
||||
Copy,
|
||||
MarkSweepCompact,
|
||||
ParNew,
|
||||
|
@ -89,7 +88,6 @@ public:
|
|||
|
||||
// Static factory methods to get a memory manager of a specific type
|
||||
static MemoryManager* get_code_cache_memory_manager();
|
||||
static MemoryManager* get_metaspace_memory_manager();
|
||||
static GCMemoryManager* get_copy_memory_manager();
|
||||
static GCMemoryManager* get_msc_memory_manager();
|
||||
static GCMemoryManager* get_parnew_memory_manager();
|
||||
|
@ -110,14 +108,6 @@ public:
|
|||
const char* name() { return "CodeCacheManager"; }
|
||||
};
|
||||
|
||||
class MetaspaceMemoryManager : public MemoryManager {
|
||||
public:
|
||||
MetaspaceMemoryManager() : MemoryManager() {}
|
||||
|
||||
MemoryManager::Name kind() { return MemoryManager::Metaspace; }
|
||||
const char *name() { return "MetaspaceManager"; }
|
||||
};
|
||||
|
||||
class GCStatInfo : public ResourceObj {
|
||||
private:
|
||||
size_t _index;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue