[
https://issues.apache.org/jira/browse/MYFACES-1862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Leonardo Uribe reopened MYFACES-1862:
-------------------------------------
StringBuilder is from jdk 1.5, so we need to revert changes on 1.1 branch
> Use ThreadLocal StringBuilder for create ids on getClientId, like in trinidad
> -----------------------------------------------------------------------------
>
> Key: MYFACES-1862
> URL: https://issues.apache.org/jira/browse/MYFACES-1862
> Project: MyFaces Core
> Issue Type: Improvement
> Affects Versions: 1.1.5, 1.2.2
> Reporter: Leonardo Uribe
> Assignee: Leonardo Uribe
> Fix For: 1.1.6-SNAPSHOT, 1.2.3-SNAPSHOT
>
>
> Trinidad uses a ThreadLocal StringBuilder variable to concatenate the values
> to get the client id, like this:
> StringBuilder bld = __getSharedStringBuilder();
>
> bld.append(contClientId).append(NamingContainer.SEPARATOR_CHAR).append(clientId);
> clientId = bld.toString();
> We should do something similar for myfaces, because it gives us a performance
> enhancement.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.