JDK-8370887 DelayScheduler Bug Discussion
Viktor Klang
viktor.klang at oracle.com
Sat Nov 15 16:56:56 UTC 2025
Hi Kent,
Thanks for reporting, it has previously been reported and is tracked
here: https://bugs.openjdk.org/browse/JDK-8370887
On 2025-11-15 14:17, Kent Dong wrote:
> Hi guys,
>
> During our trial of Java 25, we found this bug JDK-8370887
> <https://bugs.openjdk.org/browse/JDK-8370887> DelayScheduler.replace
> <https://delayscheduler.replace/> 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 Java 25 and VT in our
> production environment.
>
> After a full analysis, we found it is caused by a missing sift-up
> branch in DelayScheduler.replace 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?
>
> Thanks.
>
> Kent Dong
>
--
Cheers,
√
Viktor Klang
Software Architect, Java Platform Group
Oracle
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/core-libs-dev/attachments/20251115/e330cba3/attachment-0001.htm>
More information about the core-libs-dev
mailing list