14 Aug
2013
14 Aug
'13
8:37 a.m.
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@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