8028787: tmtools/jstat/gcoldcapacity/jstat_gcoldcapacity02 fails nsk.share.Failure: OGC < OGCMN in RT_Baseline

Passing the min and max size of the generation into the counter instead of using the space to estimate sizes.

Reviewed-by: stefank, tschatzl
This commit is contained in:
Stefan Johansson 2014-08-27 09:47:06 +02:00
parent 663618a6a1
commit 204425b78f
9 changed files with 21 additions and 11 deletions

View file

@ -101,7 +101,8 @@ void PSYoungGen::initialize_work() {
}
// Generation Counters - generation 0, 3 subspaces
_gen_counters = new PSGenerationCounters("new", 0, 3, _virtual_space);
_gen_counters = new PSGenerationCounters("new", 0, 3, _min_gen_size,
_max_gen_size, _virtual_space);
// Compute maximum space sizes for performance counters
ParallelScavengeHeap* heap = (ParallelScavengeHeap*)Universe::heap();