mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
8000754: NPG: Implement a MemoryPool MXBean for Metaspace
Reviewed-by: jmasa, stefank
This commit is contained in:
parent
0268771fc4
commit
902be4665b
9 changed files with 177 additions and 7 deletions
|
@ -73,6 +73,10 @@ private:
|
|||
// Code heap memory pool
|
||||
static MemoryPool* _code_heap_pool;
|
||||
|
||||
// Metaspace pools
|
||||
static MemoryPool* _metaspace_pool;
|
||||
static MemoryPool* _class_metaspace_pool;
|
||||
|
||||
static void add_generation_memory_pool(Generation* gen,
|
||||
MemoryManager* major_mgr,
|
||||
MemoryManager* minor_mgr);
|
||||
|
@ -121,6 +125,7 @@ private:
|
|||
public:
|
||||
static void set_universe_heap(CollectedHeap* heap);
|
||||
static void add_code_heap_memory_pool(CodeHeap* heap);
|
||||
static void add_metaspace_memory_pools();
|
||||
|
||||
static MemoryPool* get_memory_pool(instanceHandle pool);
|
||||
static MemoryManager* get_memory_manager(instanceHandle mgr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue