JEP 491 aims to improve Java's thread scalability by addressing the issue of synchronized pinning, which ties virtual threads to platform threads. This enhancement allows virtual threads to unmount even within synchronized blocks, freeing up resources and enabling higher concurrency without requiring extensive code refactoring. The proposed changes will make high-throughput, high-performance applications more feasible using Java's virtual threads.
Sort: