JEP 491 Backport

Alan Bateman alan.bateman at oracle.com
Tue Nov 12 11:57:12 UTC 2024


On 12/11/2024 11:40, Andrew Haley wrote:
> On 11/11/24 22:25, Brandon Burchett wrote:
>> While I agree with all of that, I don't think the unnecessary pinning 
>> of virtual threads should be considered a "stable" behavior, and if 
>> anything, cause more harm than good, especially since virtual threads 
>> were /the highlight/ of JDK 21.
>
> Speaking as a maintainer of JDK 21, and a part-author of the JEP 491
> implementation, I think it would be a risky backport.
>
Indeed, esp. as the changes are to the lightweight locking mode only and 
this mode only became the default in JDK 23. There is also a dependency 
on a change to the JVMTI spec that was done in JDK 23.

-Alan



More information about the loom-dev mailing list