[ 
https://issues.apache.org/jira/browse/TILES-521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12998757#comment-12998757
 ] 

Antonio Petrelli commented on TILES-521:
----------------------------------------

I agree, but can you provide a patch? This way it will be fixed sooner.

> 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