<div dir="ltr"><div dir="ltr">Thanks for the review!<div>Should we wait for another "looks good" before JC can submit it?<br><div><br></div><div>Since the testing infrastructure did not catch this change, should we add a test for this hsperf counter?</div><div><br></div><div>PS: I found a better command to test for its value: <br></div><div>$ jstat -J-Djstat.showUnsupported=true -snap file:///$(pwd)/test.hsperf | grep <a href="http://sun.gc.policy.name">sun.gc.policy.name</a><br></div><div><br clear="all"><div><div dir="ltr" class="gmail-m_-8067519359920492618gmail_signature"><div dir="ltr">-Man</div></div></div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Aug 30, 2018 at 1:52 AM Stefan Johansson <<a href="mailto:stefan.johansson@oracle.com" target="_blank">stefan.johansson@oracle.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
On 2018-08-30 02:29, Man Cao wrote:<br>
> Hi all,<br>
> <br>
> I noticed a possible slight naming bug for the HSPerf <br>
> counter "<a href="http://sun.gc.policy.name" rel="noreferrer" target="_blank">sun.gc.policy.name</a> <<a href="http://sun.gc.policy.name" rel="noreferrer" target="_blank">http://sun.gc.policy.name</a>>", introduced by <br>
> <a href="http://hg.openjdk.java.net/jdk/jdk/rev/170c7b36aea6" rel="noreferrer" target="_blank">http://hg.openjdk.java.net/jdk/jdk/rev/170c7b36aea6</a>.<br>
> <br>
> Basically instead of "ParNew:CMS", the counter's value is now "ParNew::CMS".<br>
> <br>
> Here is a fix for the bug, could someone review it?<br>
> <br>
> Webrev: <a href="http://cr.openjdk.java.net/~jcbeyler/8210192/webrev.00/" rel="noreferrer" target="_blank">http://cr.openjdk.java.net/~jcbeyler/8210192/webrev.00/</a> <br>
> <<a href="http://cr.openjdk.java.net/%7Ejcbeyler/8210192/webrev.00/" rel="noreferrer" target="_blank">http://cr.openjdk.java.net/%7Ejcbeyler/8210192/webrev.00/</a>><br>
> Bug: <a href="https://bugs.openjdk.java.net/browse/JDK-8210192" rel="noreferrer" target="_blank">https://bugs.openjdk.java.net/browse/JDK-8210192</a><br>
<br>
Looks good and since the bug hasn't shown up in our testing I don't <br>
think fixing it back should be a problem testing wise.<br>
<br>
Thanks,<br>
StefanJ<br>
<br>
> <br>
> PS: Thanks JC for creating the bug and hosting the webrev!<br>
> <br>
> Thanks!<br>
> Man<br>
</blockquote></div>