RFR (S) 8207793: [TESTBUG] runtime/Metaspace/FragmentMetaspace.java fails: heap needs to be increased

coleen.phillimore at oracle.com coleen.phillimore at oracle.com
Thu Aug 30 16:59:35 UTC 2018


Summary: Reduce test time and allow OOM.

This test attempts to fragment metaspace by loading increasingly large 
classes that are compiled with javac in a loop.  It doesn't really check 
anything about metaspace sizes or fragmentation, but looks like it has 
caught other problems in people's testing, so may be a beneficial 
test.   I verified that the GCs were reclaiming memory for each 
iteration in the loop.

open webrev at http://cr.openjdk.java.net/~coleenp/8207793.01/webrev
bug link https://bugs.openjdk.java.net/browse/JDK-8207793

Thanks,
Coleen


More information about the hotspot-runtime-dev mailing list