He-Pin opened a new issue, #1089:
URL: https://github.com/apache/incubator-pekko/issues/1089

   Motivation:
   As there is onging work to make VT works well with monitor,not sure when , 
maybe in JDK 25, but we can do better to remove some `synocrized` block.
   
   According to 
https://docs.oracle.com/en/java/javase/21/core/virtual-threads.html#GUID-04C03FFC-066D-4857-85B9-E5A27A875AF9:
   
   >A current limitation of the implementation of virtual threads is that 
performing a blocking operation while inside a synchronized block or method 
causes the JDK's virtual thread scheduler to block a precious OS thread, 
whereas it wouldn't if the blocking operation were done outside of a 
synchronized block or method. We call that situation "pinning".
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to