<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p>I've seen several similar crashes before, e.g.:
<a class="moz-txt-link-freetext" href="https://bugs.openjdk.org/browse/JDK-8316756">https://bugs.openjdk.org/browse/JDK-8316756</a></p>
<p>So, there might be some handling in the EA code missing for the
pattern of nodes that the intrinsic creates.<br>
</p>
<p>Jorn<br>
</p>
<div class="moz-cite-prefix">On 17-1-2025 15:25, Matthias Ernst
wrote:<br>
</div>
<blockquote type="cite" cite="mid:CAKJ3wwGTxqKADyp0RCJFLNp9-u8pXaiLODExhWeVF8sh_uH7kQ@mail.gmail.com">
<div dir="ltr">
<div><font face="arial, sans-serif">Disabling the intrinsics
appears to both fix the scalar replacement and the crasher:</font></div>
<font face="monospace">
<div><font face="monospace"><br>
</font></div>
java -XX:DisableIntrinsic=_Continuation_pin --add-opens
java.base/jdk.internal.misc=ALL-UNNAMED --add-opens
java.base/jdk.internal.vm=ALL-UNNAMED -Xlog:gc Repro<br>
[0.078s][info][gc] Using G1<br>
################# Expect allocations #################<br>
################# Expect silence(release) or crash(fastdebug)
#################<br>
################# Done. #################</font>
<div><br>
</div>
</div>
<br>
<div class="gmail_quote gmail_quote_container">
<div dir="ltr" class="gmail_attr">On Fri, Jan 17, 2025 at
3:10 PM Alan Bateman <<a href="mailto:alan.bateman@oracle.com" moz-do-not-send="true" class="moz-txt-link-freetext">alan.bateman@oracle.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On
17/01/2025 13:48, Maurizio Cimadamore wrote:<br>
><br>
> Thanks Matthias, adding loom-dev<br>
><br>
The intrinsics for pin/unpin are new in JDK 24. Can you do a
quick test <br>
with -XX:DisableIntrinsic=_Continuation_pin to see if it
reproduces?<br>
<br>
-Alan<br>
</blockquote>
</div>
</blockquote>
</body>
</html>