Can CMS maximum free chunk size provide advance warning before full GC?
Bernd Eckenfels
bernd-2013 at eckenfels.net
Mon Apr 29 14:53:05 PDT 2013
Am 29.04.2013, 20:53 Uhr, schrieb Jon Masamitsu <jon.masamitsu at oracle.com>:
> I think that the use of maximum free chunk size as your metric is a good
> choice. It is very conservative (which sounds like what you want) and
> not subject to odd mixtures of object sizes.
>
> For G1 I think you could use the number of completely free regions.
> I don't know if it is printed in any of the logs currently but it is
> probably
> a metric we maintain (or could easily). If the number of completely free
> regions decreases over time, it could signal that a full GC is coming.
And it would be great to have both in the (Same) MXBean Attribute for
application self monitoring.
Gruss
Bernd
--
http://bernd.eckenfels.net
More information about the hotspot-gc-use
mailing list