JEP proposed to target JDK 24: 491: Synchronize Virtual Threads without Pinning
Mark Reinhold
mark.reinhold at oracle.com
Fri Nov 1 16:04:05 UTC 2024
The following JEP is proposed to target JDK 24:
491: Synchronize Virtual Threads without Pinning
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.
Feedback on this proposal from JDK Project Committers and Reviewers [1]
is more than welcome, as are reasoned objections. If no such objections
are raised by 20:00 UTC on Friday, 8 November, or if they’re raised and
then satisfactorily answered, then per the JEP 2.0 process proposal [2]
I’ll target this JEP to JDK 24.
- Mark
[1] https://openjdk.org/census#jdk
[2] https://cr.openjdk.java.net/~mr/jep/jep-2.0-02.html
More information about the jdk-dev
mailing list