RFR(XS): Assertion failed in gc/TestSoftReferencesBehaviorOnOOME.java test
Zhengyu Gu
zgu at redhat.com
Fri Sep 30 13:04:03 UTC 2016
Please review updated webrev.
The changes address two different corner cases:
1. Application tries to allocate memory larger than heap size
2. Coming out of full GC, but there is not single free region in free region set.
Both scenarios should not result assertion failures or crashes, but OOM exceptions.
Webrev:http://cr.openjdk.java.net/~zgu/alloc_oom/webrev.01/
<http://cr.openjdk.java.net/%7Ezgu/alloc_oom/webrev.01/>
Thanks,
-Zhengyu
On 09/29/2016 01:34 PM, Zhengyu Gu wrote:
> New test revealed more assertion failures. I withdraw this review
> request and look into the new failures.
>
> Thanks,
>
> -Zhengyu
>
>
> On 09/29/2016 11:26 AM, Aleksey Shipilev wrote:
>> On 09/29/2016 03:07 PM, Zhengyu Gu wrote:
>>> Although allocating memory larger than heap certainly fails, but
>>> nothing
>>> can prevent program from doing so.
>>>
>>> Webrev:http://cr.openjdk.java.net/~zgu/alloc_oom/webrev/
>> So, after returning NULL from the allocation we will throw OOME? Can you
>> make a little test that constraints -Xmx and allocates a large object?
>>
>> Thanks,
>> -Aleksey
>>
>
More information about the shenandoah-dev
mailing list