Experiencing an issue with ScheduledExecutorService alongside VT

Alan Bateman Alan.Bateman at oracle.com
Mon Jul 22 09:52:26 UTC 2024



On 22/07/2024 10:11, Yuval Lombard wrote:
> Hi Alan,
>
> Thanks, sorry for the confusion, we also saw this odd release, and got 
> read of it, it was just a side note btw, because I realized I did not 
> attach how I have created my scheduler, so I elaborated on this as well.
>
> Just to make sure by SPTE what exactly do you mean?
I mean ScheduledThreadPoolExecutor (STPE), likely code calling 
Executors.newScheduledThreadPool with a ThreadFactory that creates 
virtual threads.

>
> We are running into some difficulties now after upgrading to the 
> latest EA based on jdk24 where most of our utilized framework's libs 
> are not supporting it yet (Spring, and Spring-Boot)
> So if there is an older available EA build based on jdk23 that may be 
> addressing one of the possible issues that may got us into this 
> locking state, we will be happy to test it.
> Otherwise it will require some work from our end in order to try to 
> package our app

JDK main line, and the loom repo, moved to targeting JDK 24 in June and 
not really feasible to go back. There are Spring engineers testing EA 
builds from Project Leyden and those builds are also based on main line 
so there may be Spring builds that support JDK 24 EA builds. I realize 
it means testing a combination of EA bits.

-Alan


More information about the loom-dev mailing list