DGC and UseParallelOldGC

Rainer Jung rainer.jung at kippdata.de
Tue Oct 13 18:10:08 PDT 2009


On 14.10.2009 01:35, Jon Masamitsu wrote:
> Rainer Jung wrote On 10/13/09 15:46,:
> 
>> Hi all,
>>
>> if I activate the parallel stop the world collector using
>> -XX:+UseParallelOldGC and DGC kicks in: will it run with multiple
>> threads in parallel, or will it only run single-threaded?
> 
> I'm assuming you mean that you are using the throughput collector
> (UseParallelGC/UseParallelOldGC) in which case turning on
> UseParallelOldGC will use multiple threads for an explicit GC.
> (System.gc()).

Yes that was the question, but also especially for the distributed GC
triggered by RMI. When using CMS you have to explicitely set flags to
let DGC also use the CMS. So since UseParallelOldGC is not the default I
wasn't sure, whether you need to set something in analogy to let the
distributed GC also use it.

Regards,

Rainer


More information about the hotspot-gc-use mailing list