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

Jon Masamitsu jon.masamitsu at oracle.com
Mon Aug 12 19:09:26 UTC 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20130812/f36c8e2e/attachment.htm>


More information about the hotspot-gc-dev mailing list