This discussion is archived
0 Replies Latest reply: Oct 12, 2012 12:06 PM by 968066 RSS

ParallelCMSThreads only created when > 1?

968066 Newbie
Currently Being Moderated
I've got a 4 core virtual system, so I've set ParallelGCThreads to 4 and ParallelCMSThreads to 1 (based on (ParallelGCThreads + 3)/4) ), and when I take a look at the treads in either a threaddump or in jconsole, no ParallelCMSThreads appear. I've added another core, and the calculation now produces a result of 2. When I start the JVM with 5 ParallelGCThreads and 2 ParallelCMSThreads, the ParallelCMSThreads threads appear in jconsole/threaddumps just fine.

So my question is: does the JVM only create ParallelCMSThreads when there are 2 or more specified, or is some other thing wrong when I try to specify only 1? I am unable to find any documentation that clarifies this.



  • Correct Answers - 10 points
  • Helpful Answers - 5 points