<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Ramki,<br>
    <br>
    On 2/13/2014 2:30 PM, Srinivas Ramakrishna wrote:
    <blockquote
cite="mid:CABzyjyn2Zn8ORC+SeyVhbo4eiXt-S6_AYN69H3oP0zscG5FOyw@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi Poonam --
        <div><br>
        </div>
        <div>Awesome, thanks for doing the backport (and thanks to
          Yasumasa for the original fixes)!  Are there performance
          numbers to share? (Unfortunately the original jira's aren't
          publicly visible on openjdk, in case performance data is
          attached there.)
          <div>
            <br>
          </div>
        </div>
      </div>
    </blockquote>
    There are no performance numbers attached to the JIRA bug reports. <br>
    <br>
    However, this problem was seen with 7uxx too and here's the logs
    showing this issue:<br>
    <br>
    <span id="mainframespan"><tt><i>  [1 CMS-initial-mark:
          144994K(360640K)] 277255K(508096K), 1.8159856 secs] </i>
        <br>
          <i>Times: user=1.86 sys=0.00, real=1.82 secs] </i>
        <br>
         
        <i>[1 CMS-initial-mark: 128606K(360832K)] 261393K(508288K),
          1.8203566 secs] </i>
        <br>
         
        <i>[Times: user=1.86 sys=0.01, real=1.82 secs] </i></tt></span><br>
    <br>
    Logs after backporting only <a moz-do-not-send="true"
      href="https://bugs.openjdk.java.net/browse/JDK-6412968"
      target="_blank">'6412968 </a>: CMS: Long initial mark pauses' :<br>
    <br>
    <span id="mainframespan"><tt><i> 2014-01-29T15:57:05.638+0100:
          20626.412: [GC (Survivor:87chunks) Finished </i>
        <br>
         
        <i>young gen initial mark scan work in 17th thread: 0.001 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 4th thread:
          0.001 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 1th thread:
          0.001 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 3th thread:
          0.001 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 11th thread:
          0.001 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 6th thread:
          0.001 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 8th thread:
          0.001 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 18th thread:
          0.001 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 7th thread:
          0.001 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 23th thread:
          0.000 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 24th thread:
          0.000 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 2th thread:
          0.001 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 0th thread:
          0.001 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 5th thread:
          0.001 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 22th thread:
          0.001 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 10th thread:
          0.001 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 21th thread:
          0.001 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 20th thread:
          0.001 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 19th thread:
          0.001 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 14th thread:
          0.001 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 13th thread:
          0.001 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 16th thread:
          0.001 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 9th thread:
          0.001 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 12th thread:
          0.001 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 0th thread:
          0.000 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 12th
          thread: 0.000 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 21th
          thread: 0.000 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 23th
          thread: 0.000 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 10th
          thread: 0.000 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 6th thread:
          0.000 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 5th thread:
          0.000 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 11th
          thread: 0.000 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 24th
          thread: 0.000 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 17th
          thread: 0.000 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 13th
          thread: 0.000 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 7th thread:
          0.000 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 16th
          thread: 0.000 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 20th
          thread: 0.000 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 3th thread:
          0.000 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 8th thread:
          0.000 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 4th thread:
          0.000 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 9th thread:
          0.000 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 1th thread:
          0.000 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 2th thread:
          0.000 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 22th
          thread: 0.001 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 19th
          thread: 0.001 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 14th
          thread: 0.006 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 18th
          thread: 0.006 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 15th thread:
          1.814 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 15th
          thread: 0.000 sec</i>
        <br>
        <i>  [1 CMS-initial-mark: 128606K(360832K)] 261393K(508288K),
          1.8203566 secs] </i>
        <br>
         
        <i>[Times: user=1.86 sys=0.01, real=1.82 secs]</i>
        <br>
         
        <i>2014-01-29T15:57:07.459+0100: 20628.232: Total time for which
          application </i>
        <br>
         
        <i>threads were stopped: 1.8363302 seconds<br>
          <br>
        </i></tt>Work distribution is skewed.<tt><i><br>
          <br>
        </i></tt>Logs after backporting '</span><a
      moz-do-not-send="true"
      href="https://bugs.openjdk.java.net/browse/JDK-6990419"
      target="_blank">6990419</a>: CMS: Remaining work for 6572569:
    consistently skewed work distribution in (long) re-mark pauses' as
    well:<br>
    <br>
    <span id="mainframespan"><tt><i> 2014-02-05T18:56:54.070+0100:
          7130.738: [GC (Survivor:47chunks) Finished </i>
        <br>
         
        <i>young gen initial mark scan work in 3th thread: 0.085 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 16th thread:
          0.084 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 8th thread:
          0.085 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 17th thread:
          0.085 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 0th thread:
          0.085 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 12th thread:
          0.085 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 13th thread:
          0.085 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 1th thread:
          0.086 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 9th thread:
          0.085 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 4th thread:
          0.086 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 20th thread:
          0.085 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 22th thread:
          0.085 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 8th thread:
          0.001 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 17th
          thread: 0.001 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 0th thread:
          0.001 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 13th
          thread: 0.001 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 12th
          thread: 0.001 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 16th
          thread: 0.001 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 20th
          thread: 0.001 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 22th
          thread: 0.000 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 1th thread:
          0.001 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 6th thread:
          0.086 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 4th thread:
          0.001 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 6th thread:
          0.000 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 11th thread:
          0.086 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 11th
          thread: 0.000 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 5th thread:
          0.087 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 5th thread:
          0.000 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 21th thread:
          0.086 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 21th
          thread: 0.000 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 14th thread:
          0.087 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 14th
          thread: 0.000 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 10th thread:
          0.087 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 19th thread:
          0.087 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 10th
          thread: 0.000 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 19th
          thread: 0.000 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 23th thread:
          0.087 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 23th
          thread: 0.000 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 2th thread:
          0.088 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 2th thread:
          0.000 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 7th thread:
          0.088 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 24th thread:
          0.087 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 7th thread:
          0.000 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 24th
          thread: 0.000 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 18th thread:
          0.087 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 18th
          thread: 0.000 sec</i>
        <br>
         
        <i>Finished young gen initial mark scan work in 15th thread:
          0.089 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 15th
          thread: 0.000 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 3th thread:
          0.006 sec</i>
        <br>
         
        <i>Finished remaining root initial mark scan work in 9th thread:
          0.006 sec</i>
        <br>
        <i>  [1 CMS-initial-mark: 157005K(360832K)] 291355K(508288K),
          0.0967082 secs] </i>
        <br>
         
        <i>[Times: user=2.18 sys=0.01, real=0.10 secs]</i>
        <br>
         
        <i>2014-02-05T18:56:54.167+0100: 7130.835: Total time for which
          application </i>
        <br>
         
        <i>threads were stopped: 0.1116541 seconds<br>
          <br>
        </i></tt></span>
    <blockquote
cite="mid:CABzyjyn2Zn8ORC+SeyVhbo4eiXt-S6_AYN69H3oP0zscG5FOyw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>Which version of 7u is this slated to make an appearance?</div>
        </div>
      </div>
    </blockquote>
    Not sure as of now. Will try for 7u60.<br>
    <br>
    Thanks,<br>
    Poonam<br>
    <br>
    <blockquote
cite="mid:CABzyjyn2Zn8ORC+SeyVhbo4eiXt-S6_AYN69H3oP0zscG5FOyw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div><br>
          </div>
          <div>thanks!</div>
          <div>-- ramki</div>
          <div><br>
          </div>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Wed, Feb 12, 2014 at 6:14 PM, Poonam
          Bajaj <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:poonam.bajaj@oracle.com" target="_blank">poonam.bajaj@oracle.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000"> Hi,<br>
              <br>
              Could I have some reviews on the following backport
              changes, please.<br>
              <a moz-do-not-send="true"
                href="http://cr.openjdk.java.net/%7Epoonam/6412968_6990419/webrev.01/"
                target="_blank">http://cr.openjdk.java.net/~poonam/6412968_6990419/webrev.01/</a><br>
              <br>
              Thanks,<br>
              Poonam
              <div>
                <div class="h5"><br>
                  <br>
                  On 2/11/2014 10:30 AM, Poonam Bajaj wrote:
                  <blockquote type="cite"> Hi,<br>
                    <br>
                    As per Jon Masamitsu's suggestion, we would be
                    having the CMSParallelInitialMarkEnabled and
                    CMSEdenChunksRecordAlways flags' value 'false' by
                    default for 7u so as not to introduce any behavior
                    changes in 7 update release. The updated webrev is
                    here:<br>
                    <a moz-do-not-send="true"
                      href="http://cr.openjdk.java.net/%7Epoonam/6412968_6990419/webrev.01/"
                      target="_blank">http://cr.openjdk.java.net/~poonam/6412968_6990419/webrev.01/</a><br>
                    <br>
                    Thanks,<br>
                    Poonam<br>
                    <br>
                    On 2/9/2014 5:13 PM, Poonam Bajaj wrote:
                    <blockquote type="cite"> Hi All,<br>
                      <br>
                      Could I have some reviews for the backport of the
                      following two fixes from jdk8 to 7u:<br>
                      <a moz-do-not-send="true"
                        href="https://bugs.openjdk.java.net/browse/JDK-6412968"
                        target="_blank">6412968 </a>: CMS: Long initial
                      mark pauses <br>
                      <a moz-do-not-send="true"
                        href="https://bugs.openjdk.java.net/browse/JDK-6990419"
                        target="_blank">6990419</a>: CMS: Remaining work
                      for 6572569: consistently skewed work distribution
                      in (long) re-mark pauses <br>
                      <br>
                      These changes parallelize the initial-mark phase
                      of the CMS collector and improve the work
                      distribution among parallel worker threads.<br>
                      Webrev: <a moz-do-not-send="true"
                        href="http://cr.openjdk.java.net/%7Epoonam/6412968_6990419/webrev.00/"
                        target="_blank">http://cr.openjdk.java.net/~poonam/6412968_6990419/webrev.00/</a><br>
                      <br>
                      Original fixes:<br>
                      6412968 : <a moz-do-not-send="true"
                        href="http://hg.openjdk.java.net/hsx/hsx25/hotspot/rev/ca9dedeebdec"
                        target="_blank">http://hg.openjdk.java.net/hsx/hsx25/hotspot/rev/ca9dedeebdec</a><br>
                      6990419: <a moz-do-not-send="true"
                        href="http://hg.openjdk.java.net/hsx/hsx25/hotspot/rev/7b06ae405d7b"
                        target="_blank">http://hg.openjdk.java.net/hsx/hsx25/hotspot/rev/7b06ae405d7b</a><br>
                      <br>
                      Testing:<br>
                      JPRT, Customer verification testing<br>
                      <br>
                      Thanks,<br>
                      Poonam<br>
                      <br>
                      <br>
                      <br>
                    </blockquote>
                  </blockquote>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
  </body>
</html>