You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Dustin Digmann (JIRA)" <ji...@apache.org> on 2010/12/28 02:15:45 UTC

[jira] Created: (WW-3550) LocalizedTextUtil's messageFormats property should be a ConcurrentHashMap

LocalizedTextUtil's messageFormats property should be a ConcurrentHashMap
-------------------------------------------------------------------------

                 Key: WW-3550
                 URL: https://issues.apache.org/jira/browse/WW-3550
             Project: Struts 2
          Issue Type: Bug
    Affects Versions: 2.1.8.1
            Reporter: Dustin Digmann


We are seeing some serious deadlock on the messageFormats hash within LocalizedTextUtil when we get to about 3000 concurrent users.  Should this property be changed to a ConcurrentHashMap?

Note: I know this exist in 2.1.8.1 but have not verified newer version.

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


[jira] Updated: (WW-3550) LocalizedTextUtil's messageFormats property should be a ConcurrentHashMap

Posted by "Lukasz Lenart (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WW-3550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukasz Lenart updated WW-3550:
------------------------------

    Fix Version/s: 2.2.2

> LocalizedTextUtil's messageFormats property should be a ConcurrentHashMap
> -------------------------------------------------------------------------
>
>                 Key: WW-3550
>                 URL: https://issues.apache.org/jira/browse/WW-3550
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.1.8.1
>            Reporter: Dustin Digmann
>            Assignee: Lukasz Lenart
>             Fix For: 2.2.2
>
>
> We are seeing some serious deadlock on the messageFormats hash within LocalizedTextUtil when we get to about 3000 concurrent users.  Should this property be changed to a ConcurrentHashMap?
> Note: I know this exist in 2.1.8.1 but have not verified newer version.

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


[jira] Resolved: (WW-3550) LocalizedTextUtil's messageFormats property should be a ConcurrentHashMap

Posted by "Lukasz Lenart (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WW-3550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukasz Lenart resolved WW-3550.
-------------------------------

    Resolution: Fixed

Resolved, thanks!

> LocalizedTextUtil's messageFormats property should be a ConcurrentHashMap
> -------------------------------------------------------------------------
>
>                 Key: WW-3550
>                 URL: https://issues.apache.org/jira/browse/WW-3550
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.1.8.1
>            Reporter: Dustin Digmann
>            Assignee: Lukasz Lenart
>             Fix For: 2.2.2
>
>
> We are seeing some serious deadlock on the messageFormats hash within LocalizedTextUtil when we get to about 3000 concurrent users.  Should this property be changed to a ConcurrentHashMap?
> Note: I know this exist in 2.1.8.1 but have not verified newer version.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (WW-3550) LocalizedTextUtil's messageFormats property should be a ConcurrentHashMap

Posted by "zhouyanming (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WW-3550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12975695#action_12975695 ] 

zhouyanming commented on WW-3550:
---------------------------------

agreed,should use ConcurrentHashMap and concurrent Lock to avoid using synchronized

> LocalizedTextUtil's messageFormats property should be a ConcurrentHashMap
> -------------------------------------------------------------------------
>
>                 Key: WW-3550
>                 URL: https://issues.apache.org/jira/browse/WW-3550
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.1.8.1
>            Reporter: Dustin Digmann
>
> We are seeing some serious deadlock on the messageFormats hash within LocalizedTextUtil when we get to about 3000 concurrent users.  Should this property be changed to a ConcurrentHashMap?
> Note: I know this exist in 2.1.8.1 but have not verified newer version.

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


[jira] Assigned: (WW-3550) LocalizedTextUtil's messageFormats property should be a ConcurrentHashMap

Posted by "Lukasz Lenart (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WW-3550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukasz Lenart reassigned WW-3550:
---------------------------------

    Assignee: Lukasz Lenart

> LocalizedTextUtil's messageFormats property should be a ConcurrentHashMap
> -------------------------------------------------------------------------
>
>                 Key: WW-3550
>                 URL: https://issues.apache.org/jira/browse/WW-3550
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.1.8.1
>            Reporter: Dustin Digmann
>            Assignee: Lukasz Lenart
>
> We are seeing some serious deadlock on the messageFormats hash within LocalizedTextUtil when we get to about 3000 concurrent users.  Should this property be changed to a ConcurrentHashMap?
> Note: I know this exist in 2.1.8.1 but have not verified newer version.

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