RFR (XXS): 8132709: [TESTBUG] gc/g1/TestHumongousShrinkHeap.java might fail on embedded

Dmitry Fazunenko dmitry.fazunenko at oracle.com
Fri Sep 4 23:25:02 UTC 2015


Thank you, Jesper!

On 05.09.2015 01:56, Jesper Wilhelmsson wrote:
> Looks good!
> /Jesper
>
> Den 4/9/15 kl. 19:30, skrev Dmitry Fazunenko:
>> Hello,
>>
>> May I have reviews for a small test fix:
>> https://bugs.openjdk.java.net/browse/JDK-8132709
>>
>> webrev:
>> http://cr.openjdk.java.net/~dfazunen/8132709/webrev/
>>
>> Comments: the test allocates/deallocates a number of humongous 
>> objects to
>> fragment the heap,
>> and then checks that fragmentation doesn't prevent heap shrinking. 
>> The test
>> didn't expect that
>> the amount of free memory could be not enough to allocate several 
>> humongous
>> objects (embedded platforms).
>> The fix adds such check.
>>
>> Thanks,
>> Dima




More information about the hotspot-gc-dev mailing list