|
|
|
|
|
by Groxx
885 days ago
|
|
Shouldn't you be able to use the same number of real threads though, plus some additional effectively-threads for the virtual threads that are not pinned? Doesn't seem like this should change semantics there, so the risk would be code that changes because of perceived advantages which are not true in edge cases - that's new behavior that wasn't possible before, there aren't really any existing semantics to break. If they're, like, limiting to CPU cores * 2 threads: yeah that would be Badâ„¢. Unambiguously. I haven't been able to find anything conclusive about this though. |
|
As mentioned in another comment: jdk.virtualThreadScheduler.maxPoolSize