atomicity violation in the JspServletWrapper class ?

2011-03-05 Thread lpxz
Dear all: Can you help me analyze the following simplified synchronization code in tomcat (the servlet function of JspServletWrapper class), I think it involves an atomicity violation, the detailed explanation is as follows: service(Request request, Response response...) { if (d

Re: atomicity violation in the JspServletWrapper class ?

2011-03-06 Thread lpxz
Dear Thomas: Thank you very much. Regards Peng Mark Thomas wrote: On 05/03/2011 19:30, lpxz wrote: It would of helped if you had mentioned which Tomcat version you were looking at. I'm assuming trunk. The expected semantic is that the (service) invocation should use the instan

Re: atomicity violation in the JspServletWrapper class ?

2011-03-06 Thread lpxz
Dear Thomas: I am using the tomcat 6 in the dacapo-9.12-bach, sorry that I can not figure out the detailed version number. Regards Peng lpxz wrote: Dear Thomas: Thank you very much. Regards Peng Mark Thomas wrote: On 05/03/2011 19:30, lpxz wrote: It would of helped if you had