pizzi80 commented on PR #737: URL: https://github.com/apache/tomcat/pull/737#issuecomment-2236111941
It would be nice to replace all these synchronized methods/blocks with a real Lock to be more VirtualThread friendly. https://stackoverflow.com/questions/76618264/synchronize-block-pinning-virtual-thread In other projects I use a mini util methods to simplify the typical Lock pattern usage for example take a look at this PR: https://github.com/omnifaces/omnifaces/pull/815/files -- 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: dev-unsubscr...@tomcat.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org