RFR (XXS): 8164133: Tests gc/arguments/TestAlignmentToUseLargePages.java and gc/cms/TestBubbleUpRef.java use too small heap

Dmitry Fazunenko dmitry.fazunenko at oracle.com
Tue Aug 23 16:52:42 UTC 2016


Thank you, Jon!

-- Dima

On 23.08.2016 19:44, Jon Masamitsu wrote:
> Dima,
>
> Changes look good.
>
> Sangheon,
>
> Thanks again for the explanation.
>
> Jon
>
> On 8/19/2016 11:02 AM, Jon Masamitsu wrote:
>> Dima,
>>
>> The error message I see in the logs is
>>
>> GC triggered before VM initialization completed. Try increasing 
>> NewSize, current value 1280K.
>>
>> Do you know why the NewSize is so small?  I ask because I'm
>> not sure setting a larger heap size will always fix this failure.
>>
>> If the test is run (with the parameters that fail) and 
>> -Xlog:gc*=trace, you might
>> see why the NewSize is so small (if you don't know now).
>>
>> Jon
>>
>>
>> On 8/19/2016 9:02 AM, Dmitry Fazunenko wrote:
>>> Hello,
>>>
>>> May I have to get a couple of reviews for a trivial fix:
>>>
>>> https://bugs.openjdk.java.net/browse/JDK-8164133
>>> http://cr.openjdk.java.net/~dfazunen/8164133/webrev.01/
>>>
>>> Two tests set very small maximum heap size, which may cause:
>>>   starts VM with too small heap size, which might cause
>>>   Error occurred during initialization of VM
>>> None of those tests does really require such a small heap, so just 
>>> increasing should help.
>>>
>>> Thanks,
>>> Dima
>>>
>>>
>>>
>>
>




More information about the hotspot-gc-dev mailing list