mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
6815790: G1: Missing MemoryPoolMXBeans with -XX:+UseG1GC
It introduces the necessary memory pools for G1. Reviewed-by: mchung, ysr
This commit is contained in:
parent
b5af9f3408
commit
9cf0c891d9
8 changed files with 513 additions and 4 deletions
|
@ -40,6 +40,7 @@ class GenCollectedHeap;
|
|||
class ParallelScavengeHeap;
|
||||
class CompactingPermGenGen;
|
||||
class CMSPermGenGen;
|
||||
class G1CollectedHeap;
|
||||
|
||||
// VM Monitoring and Management Support
|
||||
|
||||
|
@ -88,6 +89,13 @@ private:
|
|||
static void add_psPerm_memory_pool(PSPermGen* perm,
|
||||
MemoryManager* mgr);
|
||||
|
||||
static void add_g1YoungGen_memory_pool(G1CollectedHeap* g1h,
|
||||
MemoryManager* major_mgr,
|
||||
MemoryManager* minor_mgr);
|
||||
static void add_g1OldGen_memory_pool(G1CollectedHeap* g1h,
|
||||
MemoryManager* mgr);
|
||||
static void add_g1PermGen_memory_pool(G1CollectedHeap* g1h,
|
||||
MemoryManager* mgr);
|
||||
|
||||
static MemoryPool* add_space(ContiguousSpace* space,
|
||||
const char* name,
|
||||
|
@ -111,6 +119,7 @@ private:
|
|||
|
||||
static void add_gen_collected_heap_info(GenCollectedHeap* heap);
|
||||
static void add_parallel_scavenge_heap_info(ParallelScavengeHeap* heap);
|
||||
static void add_g1_heap_info(G1CollectedHeap* g1h);
|
||||
|
||||
public:
|
||||
static void set_universe_heap(CollectedHeap* heap);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue