100% CPU usage in "VM Thread" for Hotspot 10/11 on x64 platform within data processing application

David Sitsky sits at nuix.com
Mon Feb 23 18:23:23 PST 2009


Jon Masamitsu wrote:
> Tom Rodriguez wrote On 02/23/09 17:15,:
> 
>> There is a GCTimeLimit which should give up if we're spending too much  
>> time in GC but maybe you're on the edge or it's not enabled for your  
>> collector.
>>
> Only collectors with ergonomics currently have the GCTimeLimit feature
> (need the feature to measure the GC times).  Currently that's only
> UseParallelGC (or UseParallelOldGC).  Well, CMS has an implementation
> if it's spending all its time doing full GC's but it has to be turned on.

I am using the default GC on my 64-bit quad-core, so jstack reveals it 
is the ParallelGC implementation.

This will take me some time, but I will do the run again with:

-XX:+PrintGCDetails -XX:+PrintGCTimeStamps

with the same memory settings, and will try to do it again with 30% more 
memory allocated, and potentially with the 32-bit version as well.

Thanks to everyone for their helpful responses.

-- 
Cheers,
David

Nuix Pty Ltd
Suite 79, 89 Jones St, Ultimo NSW 2007, Australia    Ph: +61 2 9280 0699
Web: http://www.nuix.com                            Fax: +61 2 9212 6902



More information about the hotspot-dev mailing list