MinHeapFreeRatio / MaxHeapFreeRatio

Damon Hart-Davis dhd at exnet.com
Thu May 10 09:43:10 PDT 2012


Thanks!

Damon


On 10 May 2012, at 17:31, Jon Masamitsu wrote:

> Damon,
> 
> From inspection of the code I think that CMS does not do a
> resizing of the heap after it does a System.gc().  That resizing
> would be the code that adjusts the generations for
> MinHeapFreeRatio / MaxHeapFreeRatio and returns
> memory to the OS.
> 
> I've created CR 7167923 to investigate this bug.
> 
> Jon
> 
> On 5/9/2012 2:34 AM, Damon Hart-Davis wrote:
>> Hi,
>> 
>> No, because when I explicitly call System.gc() I want it to try as hard as it can, even to the point of stopping the world...
>> 
>> Rgds
>> 
>> Damon
>> 
>> 
>> On 9 May 2012, at 10:27, Jon Masamitsu wrote:
>> 
>>> Damon,
>>> 
>>> Do you turn on ExplicitGCInvokesConcurrent?
>>> 
>>> Jon
>>> 
> 



More information about the hotspot-gc-use mailing list