Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.cpp @ 12063:1a8fb39bdbc4
8014659: NPG: performance counters for compressed klass space
Reviewed-by: mgerdin, coleenp, hseigel, jmasa, ctornqvi
author | ehelin |
---|---|
date | Wed, 07 Aug 2013 16:47:32 +0200 |
parents | f2110083203d |
children | 8f07aa079343 |
comparison
equal
deleted
inserted
replaced
12061:e5003079dfa5 | 12063:1a8fb39bdbc4 |
---|---|
214 | 214 |
215 void ParallelScavengeHeap::update_counters() { | 215 void ParallelScavengeHeap::update_counters() { |
216 young_gen()->update_counters(); | 216 young_gen()->update_counters(); |
217 old_gen()->update_counters(); | 217 old_gen()->update_counters(); |
218 MetaspaceCounters::update_performance_counters(); | 218 MetaspaceCounters::update_performance_counters(); |
219 CompressedClassSpaceCounters::update_performance_counters(); | |
219 } | 220 } |
220 | 221 |
221 size_t ParallelScavengeHeap::capacity() const { | 222 size_t ParallelScavengeHeap::capacity() const { |
222 size_t value = young_gen()->capacity_in_bytes() + old_gen()->capacity_in_bytes(); | 223 size_t value = young_gen()->capacity_in_bytes() + old_gen()->capacity_in_bytes(); |
223 return value; | 224 return value; |