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

Jesper Wilhelmsson jesper.wilhelmsson at oracle.com
Fri Sep 4 22:56:36 UTC 2015


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