https://issues.apache.org/bugzilla/show_bug.cgi?id=49942
Summary: Possible data-race on NioEndpoint$PollerEvent.interestOps Product: Tomcat 6 Version: 6.0.29 Platform: Macintosh Status: NEW Severity: normal Priority: P2 Component: Catalina AssignedTo: dev@tomcat.apache.org ReportedBy: sergeyvorob...@google.com r997768 http://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java class NioEndpoint$PollerEvent Possible data-race on protected int interestOps: concurrent write in method 'public void reset(NioChannel ch, KeyAttachment k, int intOps)' on line 1367 concurrent read in method 'public void run()' on line 1376 I add something like System.out.println("x START " + Thread.getCurrentThread().getId() ); Thread.sleep(10); ... System.out.println("x END " + Thread.getCurrentThread().getId() ); around this two lines. And I see interference between execution. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org