Number of Parallel GC Threads
kirk
kirk at kodewerk.com
Fri Jan 23 19:22:07 UTC 2009
Jon Masamitsu wrote:
> kirk wrote On 01/23/09 09:39,:
>
>
>> ...
>>
>>
>>>
>>>
>>>
>>>
>> I've come into a couple of situations where I need to throttle back on
>> GC threads so I think the request to throttle based on the -Xmx setting
>> seem reasonable.
>>
>>
>>
>
> How do you decide the number of GC threads given a maximum heap size?
> Do you scale the number of GC threads linearly with the maximum
> heap size?
>
>
I should add that I think that the bigger problem is that GC doesn't
play nice when you have many VMs running on the same hardware. (point
taken about partitioning and all that). Some how it has to figure out if
it has free reign or if it need to share.
Kirk
More information about the hotspot-gc-dev
mailing list