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

Mikael Gerdin mikael.gerdin at oracle.com
Fri Aug 16 06:40:27 PDT 2013


Jon,

On 2013-08-16 15:25, Jon Masamitsu wrote:
> I've updated the webrev based on review comments (thanks,
> Ramki and Mikael)
>
> http://cr.openjdk.java.net/~jmasa/8022817/webrev.01/

The change looks good.

/Mikael

>
> 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