New candidate JEP: 491: Synchronize Virtual Threads without Pinning
Mark Reinhold
mark.reinhold at oracle.com
Wed Oct 2 13:04:34 UTC 2024
https://openjdk.org/jeps/491
Summary: Improve the scalability of Java code that uses synchronized
methods and statements by arranging for virtual threads that block in
such constructs to release their underlying platform threads for use
by other virtual threads. This will eliminate nearly all cases of
virtual threads being pinnedjep444-pinning to platform threads, which
severely restricts the number of virtual threads available to handle an
application's workload.
- Mark
More information about the loom-dev
mailing list