[ 
https://issues.apache.org/jira/browse/TRINIDAD-891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gabrielle Crawford resolved TRINIDAD-891.
-----------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.2.6-core

store a map of name->class on map returned from 
requestContext.getApplicationScopedAppMap()

> Locking issues coming from restore state 
> -----------------------------------------
>
>                 Key: TRINIDAD-891
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-891
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>    Affects Versions: 1.2.4-core
>            Reporter: Stevan Malesevic
>            Assignee: Gabrielle Crawford
>             Fix For: 1.2.6-core
>
>
> org.apache.myfaces.trinidad.bean.util.StateUtils$Saver.restoreState  tries to 
> load a class on every call. This is causing locking issues since SUN JVM is 
> doing locking before it tries to load the class. 
> It would be much better to use static member of ConcurrentHashMap to map name 
> to class. This will remove the locking and speed up the processing of restore 
> state

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to