Request for Review (s) - 7012980: PSOldGen is increased if there is no space in Metaspace

Jon Masamitsu jon.masamitsu at
Mon May 11 21:19:46 UTC 2015

Please put this request on hold.

On 05/08/2015 08:58 AM, Jon Masamitsu wrote:
> When full collections were being done because the Metaspace threshold was
> reached, the Java heap was being expanded.  Changed the test for 
> expanding
> the Java heap to check that the GCCause was for a full old gen or for 
> adaptive
> size policy which is done in anticipation that a full GC will be 
> needed before
> the next young gen collection.
> This change is done in two parts: the fix for this bug and a cleanup
> to add the GCCause::is_system_gc().  This can be pushed separately
> if desired.
> Stability tested product and debug with gc_test_suite. Performance tested
> with specjbb2000 and specjbb2005 with and without MetaspaceSize set to
> generate some Metaspace threshold caused full GC's.
> Thanks.
> Jon

More information about the hotspot-gc-dev mailing list