Request for review - 8022817: CMS should not shrink if compaction was not done

Jon Masamitsu jon.masamitsu at oracle.com
Fri Aug 16 06:25:38 PDT 2013


I've updated the webrev based on review comments (thanks,
Ramki and Mikael)

http://cr.openjdk.java.net/~jmasa/8022817/webrev.01/

This webrev is based on the repository for the fix for 8021809.

Thanks.

Jon


On 8/12/2013 12:09 PM, Jon Masamitsu wrote:
> 8022817: CMS should not shrink if compaction was not done
>
> If UseCMSCompactAtFullCollection is turned off, a full GC that is done 
> in the foreground but does
> not compact should not shrink the generation. In that case  a 
> mark-sweep was done so the free space
> is maintained in freelists (not as a contiguous area at the end of the 
> generation) and shrinking for
> freelists is not implemented.
>
> http://cr.openjdk.java.net/~jmasa/8022817/webrev.00/
>
> Thanks.
>
> Jon
>



More information about the hotspot-gc-dev mailing list