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

Fredriksson, Christian christian.fredriksson.2 at volvocars.com
Tue Dec 9 16:19:49 UTC 2025


Hi,

I have now tested JDK 26 (specifically image openjdk:26-ea-jdk, pushed to docker hub 4 days ago).
I do *not* see the issue there.

When is next patch release for JDK 25? And I can verify that also.

Mvh,
Christian


________________________________
From: Alan Bateman <alan.bateman at oracle.com>
Sent: Tuesday, December 2, 2025 8:37:01 AM
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 02/12/2025 07:12, Fredriksson, Christian wrote:
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 ?

Yes, it was fixed in JDK 26 build 26, so available in the latest EA builds [1].

-Alan

[1] https://jdk.java.net/26/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/loom-dev/attachments/20251209/9d2c4060/attachment.htm>


More information about the loom-dev mailing list