How do I create a real virtual thread pool?

Alan Bateman alan.bateman at oracle.com
Fri Sep 26 14:28:00 UTC 2025



On 26/09/2025 15:17, Jianbin Chen wrote:
> Hi Alan,
>
> Thanks for your reply. I haven’t implemented this yet; it was just an 
> idea I raised for discussion.
>
> Thanks for pointing me to the CustomSchedulers feature — I think it 
> could help isolate platform threads in a multi‑tenant environment 
> while still letting us benefit from virtual threads.
>
> I’ll give it a try. Thanks again. By the way, do you know whether this 
> feature is already available in JDK 25?

No plan right now to propose this feature for the JDK. The prototype in 
the loom repo is to allow for experimentation to see if there are 
compelling use-cases and results that would justify going further in the 
one of the directions in the prototype.

-Alan


More information about the loom-dev mailing list