JspFactory.getDefaultFactory() is synchronized, We can cache the return value 
to improve performance
----------------------------------------------------------------------------------------------------

                 Key: OWB-527
                 URL: https://issues.apache.org/jira/browse/OWB-527
             Project: OpenWebBeans
          Issue Type: Bug
    Affects Versions: 1.0.0
            Reporter: Xiaoming Shi
            Assignee: Gurkan Erdogdu


In the file:

./openwebbeans-1.0.0/webbeans-web/src/main/java/org/apache/webbeans/web/lifecycle/WebContainerLifecycle.java
       line:86

The value returned by JspFactory.getDefaultFactory()  can be cached to reduce 
race and improve performance
 (Similar to the Apache Bug, 
https://issues.apache.org/bugzilla/show_bug.cgi?id=44408)

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to