RFR: 8041506 - The test gc/g1/TestHumongousShrinkHeap.java reports that memory is not de-committed

Jesper Wilhelmsson jesper.wilhelmsson at oracle.com
Thu May 15 11:36:01 UTC 2014


Looks good!
/Jesper

Andrey Zakharov skrev 15/5/14 13:29:
> Hi.
> 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
>
> Thanks.
>


More information about the hotspot-gc-dev mailing list