Virtual threads created more platform threads

Alan Bateman alan.bateman at oracle.com
Wed Jul 2 08:23:33 UTC 2025



On 02/07/2025 08:25, Jianbin Chen wrote:
> :
> Initially, I only added `jdk.virtualThreadScheduler.maxPoolSize=2`, 
> but I found it had no effect.

Are you 100% sure that you specify the -D as a VM option rather than a 
program argument?

-Alan


More information about the loom-dev mailing list