Github user wangyf2010 commented on the pull request:

    https://github.com/apache/tomcat/pull/22#issuecomment-131489980
  
    >it is not thread safe (look at the Java class cache)
    
    Please refer AnnotationScanningResult, it will fork a new instance for Java 
class cache or maps, that means for each thread, they're operation their own 
instances. They're safe.
    
    After completed all threads operations, then will merge results together 
into shared instances.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to