LupusMKW opened a new pull request, #712:
URL: https://github.com/apache/tomcat/pull/712

   Due to 
https://github.com/apache/tomcat/commit/4f33be682fda02a616baa0fd9b4965d248cfe1c1
 our application does no longer work. 
   
   The commit improved the situation with respect to concurrent mutability of 
the Services array. Previously, it was possible to read the array while it was 
being modified concurrently. 
   Unfortunately, it can now happen that Tomcat runs into a deadlock if a 
starting application attempts to gather information from the Services array 
(which all our applications do).
   
   The proposed change replaces the simple lock with a ReentrantReaderWriter 
lock, so that readers can read the Services array and only writers are blocked.
   


-- 
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

Reply via email to