[jboss-jira] [JBoss JIRA] (JBWEB-290) Optimize string literals inside jsp expressions
Andrig Miller (JIRA)
issues at jboss.org
Wed Mar 19 09:20:10 EDT 2014
[ https://issues.jboss.org/browse/JBWEB-290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12954189#comment-12954189 ]
Andrig Miller commented on JBWEB-290:
-------------------------------------
In terms of being responsible for this code? If so, we can take ownership of it (the performance team), I have no problem with that at all. It's actually a fairly simple change, and its also been incorporated into upstream with Undertow as well. So, Stuart is also familiar with the change.
> Optimize string literals inside jsp expressions
> ------------------------------------------------
>
> Key: JBWEB-290
> URL: https://issues.jboss.org/browse/JBWEB-290
> Project: JBoss Web
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Tomcat
> Affects Versions: JBossWeb-3.0.0.Final
> Reporter: John O'Hara
> Assignee: Remy Maucherat
> Fix For: JBossWeb-7.4.0.GA
>
>
> After setting genStringAsCharArray=true, we continue to see StringBuilder concatenating string literals for each jsp request for some of our jsp pages; instead of creating a static char[].
> This occurs when a string literal is included in a jsp expression, e.g.;
> <%="<INPUT type=\"hidden\" name=\"name\" value=\"" + obj.getName() + "\">"%>
> Is it possible to identify string literals inside expressions during the tokenization phase of parsing jsp pages in apache jasper and treat them as text nodes so that the apache jasper generator can apply the same optimizations as string literals outside the jsp expression?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list