You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Mark Thomas <ma...@apache.org> on 2023/07/26 09:33:57 UTC

Virtual threads, synchronized and pinning

Hi all,

Following a report on the users list [1], I am currently looking at 
various refactoring to reduce pinning when using virtual threads. The 
process I am following is:

- configure unit tests to run with virtual threads and pinning debug
   logging
- run the Tomcat 11 test suite
- use grep to find pinning reports in the test logs
- fix the first instance I find
- repeat

I am doing this one issue at a time as some of the issues are quite 
complex as the objects are sync'd across multiple classes. Doing it all 
in one go would be a lot harder to review.

Expect a series of commits addressing this over the next few days.

Mark


[1] https://lists.apache.org/thread/hw2mpbhf3436g694n06n3tgsm888kzwp

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org