Hung JVM consuming 100% CPU
Jon Masamitsu
jon.masamitsu at oracle.com
Wed Mar 2 18:45:22 UTC 2011
Kirk, you're right! The MinFreeRatio and MaxFreeRatio do result in an
initiating occupancy as you describe. Does seem like a concurrent
collection should have started.
On 3/1/2011 9:06 PM, Charles K Pepperdine wrote:
> Hi Jon,
>
>
>>>
>>>
>> I don't see CMSInitiatingOccupancyFraction on the command line.
>>
>>
>> -Xmx896m -Xss128k -XX:NewSize=384M -XX:MaxPermSize=96m
>> -XX:+UseParNewGC -XX:+UseConcMarkSweepGC
>>
>> so CMS isn't using occupancy of the tenured gen to start a cycle.
>> That is the
>> default behavior.
>
> Ok, I'm trying to understand what you are saying. It was my
> understanding that CMS is initiated when tenured reaches a value of
> 68% = current occupancy + the anticipated promotions. So are you
> saying that setting the initiating occupancy fraction doesn't override
> that value, it completely changes how CMS is triggered? Is the
> flag UseCMSInitiatingOccupancyOnly only valid when you
> use CMSInitiatingOccupancyFraction or does that flag also use
> anticipated promotions as part of it's calculation?
>
> TIA,
> Kirk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20110302/95113e96/attachment.htm>
-------------- next part --------------
_______________________________________________
hotspot-gc-use mailing list
hotspot-gc-use at openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use
More information about the hotspot-gc-dev
mailing list