Summary: | Protect concurrent accesses to field "org.apache.catalina.tribes.transport.bio.util.FastQueue.inRemove" | ||
---|---|---|---|
Product: | Tomcat 7 | Reporter: | Mohsen Vakilian <reprogrammer> |
Component: | Catalina | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | reprogrammer |
Priority: | P2 | ||
Version: | trunk | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Linux |
Description
Mohsen Vakilian
2011-12-18 23:04:53 UTC
There is a concurrency issue but not the one described here. Access to that field is protected by an exclusive lock. It does however need to be volatile. Fixed in trunk and 7.0.x and will be included in 7.0.24 onwards. Thanks for resolving the visibility issue. Keshmesh <http://keshmesh.cs.illinois.edu/> detected this problem when we ran it on Tomcat using method "org.apache.catalina.tribes.group.interceptors.MessageDispatchInterceptor.run()" as an entry point. (In reply to comment #2) > Fixed in trunk and 7.0.x and will be included in 7.0.24 onwards. |