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

Srinivas Ramakrishna ysr1729 at gmail.com
Wed Aug 14 08:37:37 UTC 2013


Looks OK to me.

Aside: Is all of that code for ASConcurrentMarkSweepGeneration planned
to be used, or is it best to get rid of all the dead code?

-- ramki

On Mon, Aug 12, 2013 at 12:09 PM, Jon Masamitsu
<jon.masamitsu at oracle.com> 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