JEP proposed to target JDK 24: 491: Synchronize Virtual Threads without Pinning

Mark Reinhold mark.reinhold at oracle.com
Fri Nov 8 20:52:23 UTC 2024


2024/11/1 12:04:05 -0400, mark.reinhold at oracle.com:
> 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.

Hearing no objections, I’ve targated this JEP to JDK 24.

- Mark


More information about the jdk-dev mailing list