<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Ramki,<br>
    <br>
    jtreg is not involved at that point in time. It has launched the
    test, and the test code is running.  <br>
    <br>
    When you say  "I have confirmed this through prints in the JVM code
    base.", are you sure you are checking the right JVM?  There are at
    least 3 JVMs running at the same time in your setup: you have a JVM
    running jtreg; you have a JVM running the test, and the test is
    launching a JVM of its own through the ProcessTools library. <br>
    <br>
    -- Jon<br>
    <br>
    <div class="moz-cite-prefix">On 04/17/2017 05:09 PM, Ram Krishnan
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAKOuegCK0vDhv4jXvSM-mNSe8=0kqLXUPueYhRDwiJX6qQ6kkw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_default" style="font-family:courier
          new,monospace">Hi Jenny,<br>
          <br>
        </div>
        <div class="gmail_default" style="font-family:courier
          new,monospace">I tried what you suggested. Hotspot output
          indeed shows ​ConcGCThreads as 1.<br>
          <br>
        </div>
        <div class="gmail_default" style="font-family:courier
          new,monospace">The problem seems to be interaction with jtreg.<br>
        </div>
        <div class="gmail_default" style="font-family:courier
          new,monospace"><br>
        </div>
        <div class="gmail_default" style="font-family:courier
          new,monospace">Thanks,<br>
        </div>
        <div class="gmail_default" style="font-family:courier
          new,monospace">Ramki<br>
        </div>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Mon, Apr 17, 2017 at 4:49 PM,
            Jenny Zhang <span dir="ltr"><<a moz-do-not-send="true"
                href="mailto:yu.zhang@oracle.com" target="_blank">yu.zhang@oracle.com</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">
              <div bgcolor="#FFFFFF"> Ramki,<br>
                <br>
                Can you do the following to be sure that hotspot did not
                take the parameter?<br>
                java -XX:
                <div style="font-family:courier
                  new,monospace;display:inline" class="gmail_default">​​</div>
                ConcGCThreads=1 -XX:+PrintFlagsFinal<br>
                <br>
                I am using jdk9b154, the output shows it changed the
                ConcGCThreads to 1<br>
                <br>
                Thanks<br>
                Jenny<br>
                <br>
                <div class="gmail-m_-1427578904799488884moz-cite-prefix">On
                  4/17/2017 4:33 PM, Ram Krishnan wrote:<br>
                </div>
                <blockquote type="cite">
                  <div dir="ltr">
                    <div style="font-family:courier new,monospace">Many
                      thanks Jonathan for the immediate reply. <br>
                      <br>
                      I am copying the hotspot gc team.<br>
                      <br>
                    </div>
                    <div style="font-family:courier new,monospace">Hotspot
                      gc team -- your help would be much appreciated on
                      the topic below.<br>
                    </div>
                    <div style="font-family:courier new,monospace"><br>
                    </div>
                    <div style="font-family:courier new,monospace">Thanks,<br>
                    </div>
                    <div style="font-family:courier new,monospace">Ramki<br>
                    </div>
                    <div class="gmail_extra"><br>
                      <div class="gmail_quote">On Mon, Apr 17, 2017 at
                        2:29 PM, Jonathan Gibbons <span dir="ltr"><<a
                            moz-do-not-send="true"
                            class="gmail-m_-1427578904799488884moz-txt-link-abbreviated"
                            href="mailto:jonathan.gibbons@oracle.com"
                            target="_blank">jonathan.gibbons@oracle.com</a>></span>
                        wrote:<br>
                        <blockquote class="gmail_quote"
                          style="margin:0px 0px 0px
                          0.8ex;border-left:1px solid
                          rgb(204,204,204);padding-left:1ex">
                          <div bgcolor="#FFFFFF"> <br>
                            <br>
                            <div
class="gmail-m_-1427578904799488884m_7592252218846305182m_7329919051798114277moz-cite-prefix">On

                              04/17/2017 02:18 PM, Ram Krishnan wrote:<br>
                            </div>
                            <blockquote type="cite">
                              <div dir="ltr">
                                <div style="font-family:courier
                                  new,monospace">Hi,<br>
                                  <br>
                                </div>
                                <div style="font-family:courier
                                  new,monospace">I have been able to
                                  successfully run all the tests in
                                  hotspot/test/gc/g1 using jtreg.<br>
                                  <br>
                                </div>
                                <div style="font-family:courier
                                  new,monospace">The only gotcha I am
                                  facing is that the JVM startup options
                                  specified in process builder does not
                                  have any effect. I have confirmed this
                                  through prints in the JVM code base.<br>
                                  <br>
                                </div>
                                <div style="font-family:courier
                                  new,monospace">For example, <br
                                    clear="all">
                                </div>
                                <div>​/hotspot/test/gc/g1/​
                                  TestEagerReclaimHumongousRegio<wbr>nsClearMarkBits.java

                                  modifies the "-XX:ConcGCThreads=1",
                                  but inside the JVM code to value of
                                  ConcGCThreads is still zero.<br>
                                </div>
                                <br>
                                <div>​I am new to jtreg and openjdk and
                                  probably missing something obvious.
                                  Your help would be much appreciated. <br>
                                  <br>
                                  Thanks in advance,​</div>
                                <div>​Ramki​</div>
                                <br>
                              </div>
                            </blockquote>
                            <br>
                            Ramki,<br>
                            <br>
                            This does not look like an issue with jtreg,
                            since the behavior you are apparently seeing
                            is all within the test code and its
                            libraries.<br>
                            <br>
                            You might want to follow up with the Hotspot
                            team, who would have more familiarity with
                            these tests and the associated libraries.<br>
                            <br>
                            -- Jon<br>
                            <br>
                          </div>
                        </blockquote>
                      </div>
                      <br>
                      <br clear="all">
                      <span class="gmail-HOEnZb"><font color="#888888">
                          <br>
                          -- <br>
                          <div
                            class="gmail-m_-1427578904799488884m_7592252218846305182gmail_signature">
                            <div dir="ltr">Thanks, 
                              <div>Ramki<br>
                              </div>
                            </div>
                          </div>
                        </font></span></div>
                  </div>
                </blockquote>
                <br>
              </div>
            </blockquote>
          </div>
          <br>
          <br clear="all">
          <br>
          -- <br>
          <div class="gmail_signature">
            <div dir="ltr">Thanks, 
              <div>Ramki<br>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>