<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Ramki,<br>
<br>
It's very unlikely to be an issue related to jtreg somehow.<br>
I ran the test you mentioned manually, this is the quote from .jtr
file:<br>
...<br>
Command line: [/jdk9/solaris-sparcv9/bin/java -d64 -cp
/home/fa/hs-int/hotspot/test/gc/g1/JTwork/classes/gc/g1:/home/fa/hs-int/hotspot/test/gc/g1:/home/fa/hs-int/hotspot/test/gc/g1/JTwork/classes/test/lib:/home/fa/hs-int/test/lib:/home/fa/jtreg/lib/javatest.jar:/home/fa/jtreg/lib/jtreg.jar
-XX:+UseG1GC -Xms128M -Xmx128M -Xmn2M -XX:G1HeapRegionSize=1M
-XX:InitiatingHeapOccupancyPercent=0 -Xlog:gc
-XX:+UnlockDiagnosticVMOptions -XX:+VerifyAfterGC <b>-XX:ConcGCThreads=1</b>
-XX:+IgnoreUnrecognizedVMOptions -XX:+G1VerifyBitmaps
ReclaimRegionFast ]<br>
...<br>
All the VM options are passed as expected.<br>
<br>
> I have confirmed this through prints in the JVM code base.<br>
I'm not sure what do you mean here, but I guess you did something
wrong.<br>
<br>
Please note, during execution of this test two JVM are launched:<br>
- the first one started by jtreg (<span id="l115">TestEagerReclaimHumongousRegionsClearMarkBits
class)<br>
- the second started by test (</span><span id="l51">ReclaimRegionFast
class)</span><br>
<br>
In the first one ConcGCThread should be set to 0.<br>
<br>
Thanks,<br>
Dima<br>
<br>
<div class="moz-cite-prefix">On 18.04.2017 3:09, 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>