Mercurial > hg > truffle
comparison src/share/vm/services/memoryManager.cpp @ 1089:db0d5eba9d20
6815790: G1: Missing MemoryPoolMXBeans with -XX:+UseG1GC
Summary: It introduces the necessary memory pools for G1.
Reviewed-by: mchung, ysr
author | tonyp |
---|---|
date | Fri, 20 Nov 2009 14:47:01 -0500 |
parents | a61af66fc99e |
children | c18cbe5936b8 |
comparison
equal
deleted
inserted
replaced
1088:3fc996d4edd2 | 1089:db0d5eba9d20 |
---|---|
68 return (GCMemoryManager*) new PSScavengeMemoryManager(); | 68 return (GCMemoryManager*) new PSScavengeMemoryManager(); |
69 } | 69 } |
70 | 70 |
71 GCMemoryManager* MemoryManager::get_psMarkSweep_memory_manager() { | 71 GCMemoryManager* MemoryManager::get_psMarkSweep_memory_manager() { |
72 return (GCMemoryManager*) new PSMarkSweepMemoryManager(); | 72 return (GCMemoryManager*) new PSMarkSweepMemoryManager(); |
73 } | |
74 | |
75 GCMemoryManager* MemoryManager::get_g1YoungGen_memory_manager() { | |
76 return (GCMemoryManager*) new G1YoungGenMemoryManager(); | |
77 } | |
78 | |
79 GCMemoryManager* MemoryManager::get_g1OldGen_memory_manager() { | |
80 return (GCMemoryManager*) new G1OldGenMemoryManager(); | |
73 } | 81 } |
74 | 82 |
75 instanceOop MemoryManager::get_memory_manager_instance(TRAPS) { | 83 instanceOop MemoryManager::get_memory_manager_instance(TRAPS) { |
76 // Must do an acquire so as to force ordering of subsequent | 84 // Must do an acquire so as to force ordering of subsequent |
77 // loads from anything _memory_mgr_obj points to or implies. | 85 // loads from anything _memory_mgr_obj points to or implies. |