<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div class="moz-cite-prefix">On 21/11/2025 18:25, Fredriksson,
Christian wrote:<br>
</div>
<blockquote type="cite" cite="mid:GVZP280MB0379CDE7164E203D5A31A3B1FDD5A@GVZP280MB0379.SWEP280.PROD.OUTLOOK.COM">
<div dir="auto" style="font-family: Aptos, Aptos_MSFontService, -apple-system, Roboto, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(33, 33, 33);">
Thank you.</div>
<div dir="auto" style="font-family: Aptos, Aptos_MSFontService, -apple-system, Roboto, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(33, 33, 33);">
Unfortunately I've been unable to reproduce it locally outside
of our runtime environment, but I do have a reliable reproducer
there.</div>
<div dir="auto" style="font-family: Aptos, Aptos_MSFontService, -apple-system, Roboto, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(33, 33, 33);">
<br>
</div>
<div dir="auto" style="font-family: Aptos, Aptos_MSFontService, -apple-system, Roboto, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(33, 33, 33);">
Would it help if I test this also with JDK 24/23/22?</div>
<div dir="auto" style="font-family: Aptos, Aptos_MSFontService, -apple-system, Roboto, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(33, 33, 33);">
<br>
</div>
<div dir="auto" style="font-family: Aptos, Aptos_MSFontService, -apple-system, Roboto, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(33, 33, 33);">
Otherwise I can wait until JDK-8370887 is fixed (next release of
JDK 25?) and test again then.</div>
<br>
</blockquote>
<br>
If you can see if it reproduces with JDK 24 then it would narrow
this down. It would also be useful to capture the output from
running `jcmd <pid> Thread.vthread_scheduler` a few times
while it executes as this includes info on delayed tasks.<br>
<br>
It's possible it is related to JDK-8370887 but if all the sleeps are
sleep(1) and there is no interrupt/cancellation then there may not
be replacing going on to observe that issue. It may of course be
that the picture is more complicated. In any case, expect a JDK 26
EA build soon with a fix to that issue.<br>
<br>
You mentioned it reproduces in a single CPU environment. It's
possible that is relevant although your message said you also test
with j<span style="white-space: pre-wrap">dk.virtualThreadScheduler.parallelism set so that might rule it out.</span><br>
<br>
-Alan<br>
</body>
</html>