On 27/04/17 13:19, ?????? wrote:
> Hi, 
> The field sessionCounter and rejectedSessions in 
> org.apache.catalina.session.ManagerBase 
> is not atomic field??
> 
> 
> Now, These fields ware not locked before they were accessed in Concurrent 
> environment.
> 
> 
> it was allowed  because the very low probability ?

Yes. Performance trumps accuracy in those cases.

Mark



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

Reply via email to