Mercurial > hg > truffle
comparison src/share/vm/services/g1MemoryPool.cpp @ 3974:114e52976463
7045232: G1: pool names are inconsistent with other collectors (don't have 'Space')
Summary: Make sure the eden and survivor pools have "Space" in their name.
Reviewed-by: jmasa, ysr
author | tonyp |
---|---|
date | Wed, 21 Sep 2011 01:27:20 -0400 |
parents | b52782ae3880 |
children | 8229bd737950 |
comparison
equal
deleted
inserted
replaced
3973:663cb89032b1 | 3974:114e52976463 |
---|---|
71 return g1h->g1mm()->old_space_used(); | 71 return g1h->g1mm()->old_space_used(); |
72 } | 72 } |
73 | 73 |
74 G1EdenPool::G1EdenPool(G1CollectedHeap* g1h) : | 74 G1EdenPool::G1EdenPool(G1CollectedHeap* g1h) : |
75 G1MemoryPoolSuper(g1h, | 75 G1MemoryPoolSuper(g1h, |
76 "G1 Eden", | 76 "G1 Eden Space", |
77 eden_space_committed(g1h), /* init_size */ | 77 eden_space_committed(g1h), /* init_size */ |
78 false /* support_usage_threshold */) { } | 78 false /* support_usage_threshold */) { } |
79 | 79 |
80 MemoryUsage G1EdenPool::get_memory_usage() { | 80 MemoryUsage G1EdenPool::get_memory_usage() { |
81 size_t initial_sz = initial_size(); | 81 size_t initial_sz = initial_size(); |
86 return MemoryUsage(initial_sz, used, committed, max_sz); | 86 return MemoryUsage(initial_sz, used, committed, max_sz); |
87 } | 87 } |
88 | 88 |
89 G1SurvivorPool::G1SurvivorPool(G1CollectedHeap* g1h) : | 89 G1SurvivorPool::G1SurvivorPool(G1CollectedHeap* g1h) : |
90 G1MemoryPoolSuper(g1h, | 90 G1MemoryPoolSuper(g1h, |
91 "G1 Survivor", | 91 "G1 Survivor Space", |
92 survivor_space_committed(g1h), /* init_size */ | 92 survivor_space_committed(g1h), /* init_size */ |
93 false /* support_usage_threshold */) { } | 93 false /* support_usage_threshold */) { } |
94 | 94 |
95 MemoryUsage G1SurvivorPool::get_memory_usage() { | 95 MemoryUsage G1SurvivorPool::get_memory_usage() { |
96 size_t initial_sz = initial_size(); | 96 size_t initial_sz = initial_size(); |