Re: why has some field not been locked before accessed.

2017-04-27 Thread Mark Thomas
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 l

why has some field not been locked before accessed.

2017-04-27 Thread ??????
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 ? Look forward to your reply, thanks v