Significant degradation of Thread.sleep with virtual threads in JDK 25 vs JDK 21

Fredriksson, Christian christian.fredriksson.2 at volvocars.com
Tue Dec 2 07:12:29 UTC 2025


Hi,

To clarify, is the previous mentioned issue (JDK-8370887) already fixed and in 26 EA?
So I can test with e.g. the image openjdk:26-ea-jdk ?

Regards,
Christian


Mvh,
Christian
________________________________
From: Alan Bateman <alan.bateman at oracle.com>
Sent: Thursday, November 27, 2025 12:31:53 PM
To: Fredriksson, Christian <christian.fredriksson.2 at volvocars.com>; loom-dev at openjdk.org <loom-dev at openjdk.org>
Subject: Re: Significant degradation of Thread.sleep with virtual threads in JDK 25 vs JDK 21

On 25/11/2025 16:04, Fredriksson, Christian wrote:

I have tested with latest JDK 24 and do *not* see the issue there, only on JDK 25.



I have attached the output of running that jcmd every 15 seconds when the issue happened on JDK 25.

Thanks, that rules out a signalling issue. Are you able to test with JDK 26 EA builds?

-Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/loom-dev/attachments/20251202/31cb2981/attachment.htm>


More information about the loom-dev mailing list