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

                 Key: TILES-521
                 URL: https://issues.apache.org/jira/browse/TILES-521
             Project: Tiles
          Issue Type: Bug
          Components: tiles-el
    Affects Versions: 2.2.2
            Reporter: Xiaoming Shi


In the file

tiles-2.2.2/src/tiles-el/src/main/java/org/apache/tiles/el/JspExpressionFactoryFactory.java
      line:61

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