pb00067 commented on PR #737: URL: https://github.com/apache/tomcat/pull/737#issuecomment-2205400307
> please notice that both methods registerCleaner() and unregisterCleaner() having the synchronized keyword does not prevent that one thread executes registerCleaner() while another thread simulteneously executes unregisterCleaner() . I guess it is possible (the exception & stacktrace in fact proves that it is possible) when the 2 threads uses 2 different class-loaders. Thats the unique explanation I have for the moment. I will investigate later, for the moment I have other works to do. -- 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