<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV id=yiv899263836>
<TABLE id=yiv899263836bodyDrftID class=yiv899263836 border=0 cellSpacing=0 cellPadding=0>
<TBODY>
<TR>
<TD style="FONT-FAMILY: arial; FONT-SIZE: 10pt" id=yiv899263836drftMsgContent>
<DIV id=yiv899263836>
<TABLE id=yiv899263836bodyDrftID class=yiv899263836 border=0 cellSpacing=0 cellPadding=0>
<TBODY>
<TR>
<TD style="FONT-FAMILY: arial; FONT-SIZE: 10pt" id=yiv899263836drftMsgContent>
<DIV id=yiv899263836>
<TABLE id=yiv899263836bodyDrftID class=yiv899263836 border=0 cellSpacing=0 cellPadding=0>
<TBODY>
<TR>
<TD style="FONT-FAMILY: arial; FONT-SIZE: 10pt" id=yiv899263836drftMsgContent>
<DIV id=yiv899263836>
<TABLE id=yiv899263836bodyDrftID class=yiv899263836 border=0 cellSpacing=0 cellPadding=0>
<TBODY>
<TR>
<TD style="FONT-FAMILY: arial; FONT-SIZE: 10pt" id=yiv899263836drftMsgContent>
<DIV>Hi Ramki,</DIV>
<DIV> </DIV>
<DIV>Thank you very much for your reply. </DIV>
<DIV> </DIV>
<DIV>It is not *always* that the concurrent marking phase takes this long, although it happens often enough. For example, in the full GC log corresponding to the snippet I pasted in my posting (attached, zipped) there is only that one instance.</DIV>
<DIV> </DIV>
<DIV>I think I know why you are asking - based on my understanding of Bug # 6692906 (more accurately, based on discussions around it on this list), I was under the impression that such long CM phases will happen all the time (if they happen at all). Does the fact that it is intermittent raise the possibility that this is a different issue? I realize that you might not be able to answer this based on the bits of information you have, but perhaps the full GC log will tell you something that you don't already know.</DIV>
<DIV> </DIV>
<DIV>Regards,</DIV>
<DIV>Srini.<BR><BR>--- On <B>Thu, 9/29/11, Ramki Ramakrishna <I><y.s.ramakrishna@oracle.com></I></B> wrote:<BR></DIV>
<BLOCKQUOTE style="BORDER-LEFT: rgb(16,16,255) 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px"><BR>From: Ramki Ramakrishna <y.s.ramakrishna@oracle.com><BR>Subject: Re: Intermittent issue with long concurrent marking phase<BR>To: "Srini Padman" <srini_was@yahoo.com><BR>Cc: hotspot-gc-dev@openjdk.java.net<BR>Date: Thursday, September 29, 2011, 4:24 AM<BR><BR>
<DIV id=yiv899263836>Hi Srini -- (inline below)<BR><BR>On 9/28/2011 4:50 AM, Srini Padman wrote: 
<BLOCKQUOTE type="cite">
<TABLE border=0 cellSpacing=0 cellPadding=0>
<TBODY>
<TR>
<TD vAlign=top><BR>Questions:<BR> <BR>1\ is it clear based on the description above that the issue is identical to 6692906 (<A href="http://bugs.sun.com/view_bug.do?bug_id=6692906" rel=nofollow target=_blank>http://bugs.sun.com/view_bug.do?bug_id=6692906</A>)?<BR></TD></TR></TBODY></TABLE></BLOCKQUOTE><BR>Very likely the same bug.<BR><BR>
<BLOCKQUOTE type="cite">
<TABLE border=0 cellSpacing=0 cellPadding=0>
<TBODY>
<TR>
<TD vAlign=top>2\ will we benefit by upgrading to a more recent JRE [1.6.0_26 being the one under consideration]?<BR></TD></TR></TBODY></TABLE></BLOCKQUOTE><BR>Definitely worth trying.<BR><BR>
<BLOCKQUOTE type="cite">
<TABLE border=0 cellSpacing=0 cellPadding=0>
<TBODY>
<TR>
<TD vAlign=top>3\ I have seen recommendations to use "-XX:-CMSConcurrentMTEnabled" on some web forums - but I have concerns about this; if we don't allow for concurrent marking to use multiple threads, then isnt there a danger of marking proceeding so slowly that we might end up running out of memory i.e., garbage created much faster than it is collected]?<BR></TD></TR></TBODY></TABLE></BLOCKQUOTE><BR>Your concerns are very legitimate (especially given the length of the concurrent mark phase) and the number of cores you have.<BR><BR>
<BLOCKQUOTE type="cite">
<TABLE border=0 cellSpacing=0 cellPadding=0>
<TBODY>
<TR>
<TD vAlign=top> <BR>Any help is greatly appreciated. Please let me know if any additional information is needed at all. I haven't attached the full GC log (it caused problems with posting) but will gladly send it directly to anybody who would like.<BR></TD></TR></TBODY></TABLE></BLOCKQUOTE><BR>The long initial mark pause is definitely concerning -- Does it show up regularly<BR>in the GC logs or is the snippet above an anomaly? Curisously, as the process time<BR>shows, the user and system time are both low but the elapsed time is very large.<BR>That looks like a total stall of the process, and I have no conjectures<BR>based on available data. <BR><BR>I suggest talking with your Java support folk if you reproduce this after upgrading to<BR>6u28 (or whatever).<BR><BR>best regards.<BR>-- ramki<BR><BR>
<BLOCKQUOTE type="cite">
<TABLE border=0 cellSpacing=0 cellPadding=0>
<TBODY>
<TR>
<TD vAlign=top><BR>Regards,<BR>Srini.</TD></TR></TBODY></TABLE></BLOCKQUOTE></DIV></BLOCKQUOTE></TD></TR></TBODY></TABLE></DIV></TD></TR></TBODY></TABLE></DIV></TD></TR></TBODY></TABLE></DIV></TD></TR></TBODY></TABLE></DIV></td></tr></table>