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

Ioi Lam ioi.lam at oracle.com
Thu Sep 13 02:44:12 UTC 2018


Looks good. Thanks

- Ioi


On 09/12/2018 05:20 PM, Jiangli Zhou wrote:
> Including the hotspot-gc mailing list. Also fixed a typo in the 
> webrev. It was caught in my testing and also spotted by Ioi (thanks!).
>
> Thanks,
>
> Jiangli
>
>
> On 9/12/18 11:16 AM, Jiangli Zhou wrote:
>> 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.
>>
>> Thanks,
>>
>> Jiangli
>>
>



More information about the hotspot-runtime-dev mailing list