struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhouyanming (JIRA)" <j...@apache.org>
Subject [jira] Commented: (WW-3550) LocalizedTextUtil's messageFormats property should be a ConcurrentHashMap
Date Wed, 29 Dec 2010 01:23:46 GMT

    [ 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.


Mime
View raw message