RFR: 8210193: gc/g1/mixedgc/TestOldGenCollectionUsage.java fails intermittently with OutOfMemoryError in CDS mode

Jiangli Zhou jiangli.zhou at oracle.com
Wed Sep 12 18:16:13 UTC 2018

Please review the test fix for OutOfMemoryError failure with 
TestOldGenCollectionUsage.java in CDS mode. The fix uses 14M java heap 
and also handles OutOfMemoryError to prevent similar issue in the 
future. Please see detailed analysis in the bug report. I also applied 
the same OutOfMemoryError handling to TestLogging.java, as suggested by 
Paul Hohensee.

webrev: http://cr.openjdk.java.net/~jiangli/8210193/webrev.00/

bug: https://bugs.openjdk.java.net/browse/JDK-8210193

Tested with tier1 - tier3 for TestOldGenCollectionUsage.java (retesting 
with TestLogging.java change). Also tested tier6 and tier7 with the 
default CDS archive patch.



More information about the hotspot-runtime-dev mailing list