Request for review - 8022817: CMS should not shrink if compaction was not done
mikael.gerdin at oracle.com
Fri Aug 16 06:40:27 PDT 2013
On 2013-08-16 15:25, Jon Masamitsu wrote:
> I've updated the webrev based on review comments (thanks,
> Ramki and Mikael)
The change looks good.
> This webrev is based on the repository for the fix for 8021809.
> 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.
More information about the hotspot-gc-dev