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

@ -66,7 +66,7 @@ private:
public:
GenerationCounters(const char* name, int ordinal, int spaces,
VirtualSpace* v);
size_t min_capacity, size_t max_capacity, VirtualSpace* v);
~GenerationCounters() {
if (_name_space != NULL) FREE_C_HEAP_ARRAY(char, _name_space, mtGC);