You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tiles.apache.org by "Antonio Petrelli (JIRA)" <ji...@apache.org> on 2011/02/24 09:48:38 UTC

[jira] Commented: (TILES-521) JspFactory.getDefaultFactory() is synchronized, We can cache the return value to improve performance

    [ 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