<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p>Hi Kent,<br>
<br>
Thanks for reporting, it has previously been reported and is
tracked here: <a class="moz-txt-link-freetext" href="https://bugs.openjdk.org/browse/JDK-8370887">https://bugs.openjdk.org/browse/JDK-8370887</a></p>
<div class="moz-cite-prefix">On 2025-11-15 14:17, Kent Dong wrote:<br>
</div>
<blockquote type="cite" cite="mid:tencent_76B154EE69499B65C7B94D90F15245542606@qq.com">
<div style="text-align: left; text-indent: 0px; line-height: 1.43; font-family: -apple-system, system-ui; font-size: 14px; color: rgb(0, 0, 0);">Hi
guys,</div>
<div style="text-align: left; text-indent: 0px; line-height: 1.43; font-family: -apple-system, system-ui; font-size: 14px; color: rgb(0, 0, 0);"><br>
</div>
<div style="text-align: left; text-indent: 0px; line-height: 1.43; font-family: -apple-system, system-ui; font-size: 14px;"><span style="color: rgb(0, 0, 0);">During our trial of Java 25, we
found this bug </span><span style="color: rgb(14, 112, 223); background-color: rgb(255, 255, 255);"><a href="https://bugs.openjdk.org/browse/JDK-8370887" target="_blank" rel="noopener noreferrer" style="text-decoration: underline;color: rgb(14, 112, 223); text-decoration: none; background-color: rgb(255, 255, 255); text-align: left;" moz-do-not-send="true">JDK-8370887</a> </span><span style="color: rgb(14, 112, 223);"><a href="https://delayscheduler.replace/" target="_blank" rel="noopener noreferrer" style="text-decoration: underline;color: rgb(14, 112, 223); text-decoration: none;" moz-do-not-send="true">DelayScheduler.replace</a></span><span style="color: rgb(0, 0, 0);"> method may break the 4-ary heap
in certain scenarios. Since NIO uses virtual threads for
poller by default in Linux, it may affect the timeout of IO
operations. If it can be fix, we would be more confident to
use </span><span style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Java
25 and VT in our production environment.</span></div>
<div style="text-align: left; text-indent: 0px; line-height: 1.43; font-family: -apple-system, system-ui; font-size: 14px; color: rgb(0, 0, 0);"><span style="background-color: rgb(255, 255, 255);"><br>
</span></div>
<div style="text-align: left; text-indent: 0px; line-height: 1.43; font-family: -apple-system, system-ui; font-size: 14px;"><span style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">After
a full analysis, we found it is caused by a missing sift-up
branch in </span><span style="color: rgb(14, 112, 223); background-color: rgb(255, 255, 255);">DelayScheduler.replace</span><span style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"> method,
and it's not quite hard to fix. And it stays silent in JBS for
quite a while. Is there a schedule/plan for it to be fixed or
maybe we can contribute a fix to it?</span></div>
<div style="text-align: left; text-indent: 0px; line-height: 1.43; font-family: -apple-system, system-ui; font-size: 14px; color: rgb(0, 0, 0);"><br>
</div>
<div style="text-align: left; text-indent: 0px; line-height: 1.43; font-family: -apple-system, system-ui; font-size: 14px; color: rgb(0, 0, 0);">Thanks.</div>
<div style="text-align: left; text-indent: 0px; line-height: 1.43; font-family: -apple-system, system-ui; font-size: 14px; color: rgb(0, 0, 0);"><br>
</div>
<div style="text-align: left; text-indent: 0px; line-height: 1.43; font-family: -apple-system, system-ui; font-size: 14px; color: rgb(0, 0, 0);">Kent
Dong</div>
<div style="line-height: 1.43; font-family: -apple-system, system-ui; font-size: 14px; color: rgb(0, 0, 0);"><br>
</div>
</blockquote>
<pre class="moz-signature" cols="72">--
Cheers,
√
Viktor Klang
Software Architect, Java Platform Group
Oracle</pre>
</body>
</html>