Scheduled virtual thread per task executor

Alan Bateman Alan.Bateman at
Tue Oct 10 10:24:54 UTC 2023

On 10/10/2023 09:56, Daniel Schmid wrote:
> :
> Is there a specific reasoning behind the JDK not providing a 
> ScheduledExecutorService variant of 
> Executors.newVirtualThreadPerTaskExecutor()? Are there any plans to 
> implement this in the future?

This is something that has been kicked down the road, the reason is we 
want put in new infrastructure for scalable timers to support timed 
parking and timed I/O ops, it's possible that this might influence the 
API direction.


More information about the loom-dev mailing list