s***@oracle.com
2018-11-12 10:22:34 UTC
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font face="Monaco">Please, review a fix for:<br>
<a class="moz-txt-link-freetext" href="https://bugs.openjdk.java.net/browse/JDK-8213525">https://bugs.openjdk.java.net/browse/JDK-8213525</a><br>
<br>
Webrev:<br>
<a class="moz-txt-link-freetext" href="http://cr.openjdk.java.net/~sspitsyn/webrevs/2018/8213525-unstable-test.1/">http://cr.openjdk.java.net/~sspitsyn/webrevs/2018/8213525-unstable-test.1/</a><br>
<br>
<br>
Summary:<br>
A couple of the checks in new unit test developed for </font><font
face="Monaco"><span title="JDK-8080406: VM_GetOrSetLocal doesn't
check local slot type against requested type "><a
href="https://bugs.openjdk.java.net/browse/JDK-8080406"
data-issue-key="JDK-8080406" class="issue-link link-title
resolution">JDK-8080406</a> is not stable.<br>
It is expected that the type of the local intLoc returned by
the </span></font><span class="new">StackValueCollection has<br>
to be T_CONFLICT as it is out of scope at the point where the
testLocals() is called:<br>
</span>
<pre><span class="new"> int staticMeth(byte byteArg, Object objArg, double dblArg, int intArg) {</span>
<span class="new"> testLocals(Thread.currentThread());</span>
<span class="new"> {</span>
<span class="new"> int intLoc = 9999;</span>
<span class="new"> intArg = intLoc;</span>
<span class="new"> }</span>
<span class="new"> return intArg;</span>
<span class="new"> }
But sometimes the type T_INT is returned instead of </span><span class="new">T_CONFLICT.
The fix is to disable the checks that can fail because of it.
Thanks,
Serguei
</span><span class="new"></span></pre>
<font face="Monaco"><span title="JDK-8080406: VM_GetOrSetLocal
doesn't check local slot type against requested type "><span
class="link-summary"></span></span></font>
</body>
</html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font face="Monaco">Please, review a fix for:<br>
<a class="moz-txt-link-freetext" href="https://bugs.openjdk.java.net/browse/JDK-8213525">https://bugs.openjdk.java.net/browse/JDK-8213525</a><br>
<br>
Webrev:<br>
<a class="moz-txt-link-freetext" href="http://cr.openjdk.java.net/~sspitsyn/webrevs/2018/8213525-unstable-test.1/">http://cr.openjdk.java.net/~sspitsyn/webrevs/2018/8213525-unstable-test.1/</a><br>
<br>
<br>
Summary:<br>
A couple of the checks in new unit test developed for </font><font
face="Monaco"><span title="JDK-8080406: VM_GetOrSetLocal doesn't
check local slot type against requested type "><a
href="https://bugs.openjdk.java.net/browse/JDK-8080406"
data-issue-key="JDK-8080406" class="issue-link link-title
resolution">JDK-8080406</a> is not stable.<br>
It is expected that the type of the local intLoc returned by
the </span></font><span class="new">StackValueCollection has<br>
to be T_CONFLICT as it is out of scope at the point where the
testLocals() is called:<br>
</span>
<pre><span class="new"> int staticMeth(byte byteArg, Object objArg, double dblArg, int intArg) {</span>
<span class="new"> testLocals(Thread.currentThread());</span>
<span class="new"> {</span>
<span class="new"> int intLoc = 9999;</span>
<span class="new"> intArg = intLoc;</span>
<span class="new"> }</span>
<span class="new"> return intArg;</span>
<span class="new"> }
But sometimes the type T_INT is returned instead of </span><span class="new">T_CONFLICT.
The fix is to disable the checks that can fail because of it.
Thanks,
Serguei
</span><span class="new"></span></pre>
<font face="Monaco"><span title="JDK-8080406: VM_GetOrSetLocal
doesn't check local slot type against requested type "><span
class="link-summary"></span></span></font>
</body>
</html>