mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +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
|
@ -72,6 +72,14 @@ GCMemoryManager* MemoryManager::get_psMarkSweep_memory_manager() {
|
|||
return (GCMemoryManager*) new PSMarkSweepMemoryManager();
|
||||
}
|
||||
|
||||
GCMemoryManager* MemoryManager::get_g1YoungGen_memory_manager() {
|
||||
return (GCMemoryManager*) new G1YoungGenMemoryManager();
|
||||
}
|
||||
|
||||
GCMemoryManager* MemoryManager::get_g1OldGen_memory_manager() {
|
||||
return (GCMemoryManager*) new G1OldGenMemoryManager();
|
||||
}
|
||||
|
||||
instanceOop MemoryManager::get_memory_manager_instance(TRAPS) {
|
||||
// Must do an acquire so as to force ordering of subsequent
|
||||
// loads from anything _memory_mgr_obj points to or implies.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue