jmx-dev RFR 8020467: Inconsistency between usage.getUsed() and isUsageThresholdExceeded() with CMS Old Gen pool

Mandy Chung mandy.chung at oracle.com
Wed Oct 30 09:30:17 PDT 2013


On 10/30/2013 4:23 AM, Jaroslav Bachorik wrote:
> Ok. I've added a big object and an initial call to System.gc(). But 
> I'm leaving the calls to System.gc() right before checking the pools 
> as well - just to be sure.
>
> http://cr.openjdk.java.net/~jbachorik/8020467/webrev.04
>

The update looks okay and I think System.gc() at line 90 is no longer 
needed as the failure was due to the empty old gen.

thanks for the update.
Mandy


More information about the serviceability-dev mailing list