RFR: 8041506 - The test gc/g1/TestHumongousShrinkHeap.java reports that memory is not de-committed
andrey.x.zakharov at oracle.com
Tue May 20 15:13:07 UTC 2014
Any comments are welcome
On 15.05.2014 15:36, Jesper Wilhelmsson wrote:
> Looks good!
> Andrey Zakharov skrev 15/5/14 13:29:
>> To proper testing of free list sorting we need to defragment memory
>> with small
>> young and humongous objects
>> This is test scenario:
>> Make enough space for new objects to prevent it going old.
>> - allocate bunch of small objects, and a bit of humongous
>> several times.
>> Free almost all of allocated stuff. Check that heap shrinks after GC.
>> webrev: http://cr.openjdk.java.net/~jwilhelm/8041506/webrev.02/
>> bug: https://bugs.openjdk.java.net/browse/JDK-8041506
More information about the hotspot-gc-dev