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


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