RFR: 8028787: tmtools/jstat/gcoldcapacity/jstat_gcoldcapacity02 fails nsk.share.Failure: OGC < OGCMN in RT_Baseline
stefan.karlsson at oracle.com
Tue Aug 26 10:05:29 UTC 2014
On 26/08/14 11:46, Stefan Johansson wrote:
> Please review this fix for:
Looks good. Thanks for fixing this!
> When setting up the counters used by jstat for determining the min and
> max size of the generations we currently do not use the collector
> policy to get these values. Instead the underlying space has been
> used, and that do not have any notion of a minimum. Changing to use
> the collector policy will avoid the problems we are seeing where the
> current capacity is smaller than the minimum. This was previously
> possible if a generation was resized to something smaller than the
> initial size (which was setup as minimum for the counter).
> I did not manage to reproduce the failure with the test in question on
> my machine but I was able to manually construct the same symptoms
> (getting a smaller OGC than OGCMN) using the default collector and
> with this fix they are gone.
More information about the hotspot-gc-dev