<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    This is close to the CMS flag but is a percent of<br>
    the entire heap (as opposed to the tenured<br>
    generation for CMS).<br>
    <br>
    -XX:InitiatingHeapOccupancyPercent=NN<br>
    <br>
    On 12/29/11 01:45, Guy Korland wrote:
    <blockquote
cite="mid:CAMaz81+pojYagb-=VN8TWroZwRvCMJ7kw0NW75GqzbL6-EDrQA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Yes, I'm familiar with this configuration for CMS.</div>
        Is there a similar configuration for G1?
        <div><br>
        </div>
        <div>Thanks,</div>
        <div>Guy<br>
          <br>
          <br>
          <div class="gmail_quote">On Thu, Dec 29, 2011 at 1:32 AM, Jon
            Masamitsu <span dir="ltr"><<a moz-do-not-send="true"
                href="mailto:jon.masamitsu@oracle.com">jon.masamitsu@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 class="im"><br>
                <br>
                On 12/28/2011 1:17 PM, Guy Korland wrote:<br>
                <blockquote class="gmail_quote" style="margin:0 0 0
                  .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  Thanks for the answer, is there any chance you can
                  also help with my other<br>
                  question?<br>
                  Is there a way with as with cms to control the
                  "occupancy"?<br>
                </blockquote>
                <br>
              </div>
              If you mean the occupancy at which CMS starts  a
              collection, try<br>
              -XX:CMSInitiatingOccupancyFraction=NN where NN is the<br>
              percentage of the tenured generation at which a CMS
              collection<br>
              will start.<br>
              <br>
              If you mean something else, please ask again.
              <div class="HOEnZb">
                <div class="h5"><br>
                  <br>
                  <blockquote class="gmail_quote" style="margin:0 0 0
                    .8ex;border-left:1px #ccc solid;padding-left:1ex">
                    Thanks,<br>
                    Guy<br>
                    <br>
                    <br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      ---<br>
                      Date: Tue, 27 Dec 2011 14:06:53 -0800<br>
                      From: Jon Masamitsu<<a moz-do-not-send="true"
                        href="mailto:jon.masamitsu@oracle.com"
                        target="_blank">jon.masamitsu@oracle.com</a>><br>
                      Subject: Re: Turning off generational GC<br>
                      To: <a moz-do-not-send="true"
                        href="mailto:hotspot-gc-use@openjdk.java.net"
                        target="_blank">hotspot-gc-use@openjdk.java.net</a><br>
                      Message-ID:<<a moz-do-not-send="true"
                        href="mailto:4EFA417D.4070009@oracle.com"
                        target="_blank">4EFA417D.4070009@oracle.com</a>><br>
                      Content-Type: text/plain; charset="iso-8859-1"<br>
                      <br>
                      For the hotspot garbage collectors the short
                      answer is "no" there is no<br>
                      way to<br>
                      turn off generational GC.  I think it's even
                      pretty deeply entrenched in<br>
                      G1 which<br>
                      is only logically generational.<br>
                      <br>
                      If CMS were not generational, in the best cause
                      you would see pauses<br>
                      on the order of 20ms.  Maybe much larger although
                      less frequent.<br>
                      More likely would be concurrent mode failures
                      which would lead to<br>
                      full GC's.<br>
                      <br>
                      <br>
                      On 12/27/2011 1:20 PM, Guy Korland wrote:<br>
                      <blockquote class="gmail_quote" style="margin:0 0
                        0 .8ex;border-left:1px #ccc
                        solid;padding-left:1ex">
                        Hi,<br>
                        <br>
                        I hope this is the right forum for this.<br>
                        It seems like no matter how small we set the
                        young generation, it take<br>
                      </blockquote>
                    </blockquote>
                    more<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <blockquote class="gmail_quote" style="margin:0 0
                        0 .8ex;border-left:1px #ccc
                        solid;padding-left:1ex">
                        than 20ms.<br>
                        Is there a way turn off generational GC,
                        especially in CMS?<br>
                        <br>
                        Thanks,<br>
                        Guy<br>
                        <br>
                        <br>
                        <br>
                        _______________________________________________<br>
                        hotspot-gc-use mailing list<br>
                        <a moz-do-not-send="true"
                          href="mailto:hotspot-gc-use@openjdk.java.net"
                          target="_blank">hotspot-gc-use@openjdk.java.net</a><br>
                        <a moz-do-not-send="true"
                          href="http://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use"
                          target="_blank">http://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use</a><br>
                      </blockquote>
                      -------------- next part --------------<br>
                      An HTML attachment was scrubbed...<br>
                      URL:<br>
                    </blockquote>
                    <a moz-do-not-send="true"
href="http://mail.openjdk.java.net/pipermail/hotspot-gc-use/attachments/20111227/99fc1a6a/attachment-0001.html"
                      target="_blank">http://mail.openjdk.java.net/pipermail/hotspot-gc-use/attachments/20111227/99fc1a6a/attachment-0001.html</a><br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      ------------------------------<br>
                      <br>
                      _______________________________________________<br>
                      hotspot-gc-use mailing list<br>
                      <a moz-do-not-send="true"
                        href="mailto:hotspot-gc-use@openjdk.java.net"
                        target="_blank">hotspot-gc-use@openjdk.java.net</a><br>
                      <a moz-do-not-send="true"
                        href="http://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use"
                        target="_blank">http://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use</a><br>
                      <br>
                      <br>
                      End of hotspot-gc-use Digest, Vol 46, Issue 9<br>
                      *********************************************<br>
                      <br>
                    </blockquote>
                  </blockquote>
                </div>
              </div>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
    </blockquote>
  </body>
</html>