You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Trustin Lee (JIRA)" <ji...@apache.org> on 2007/07/10 10:57:04 UTC
[jira] Created: (DIRMINA-398) Change the default Map implementation
of DemuxingIoHandler to ConcurrentHashMap
Change the default Map implementation of DemuxingIoHandler to ConcurrentHashMap
-------------------------------------------------------------------------------
Key: DIRMINA-398
URL: https://issues.apache.org/jira/browse/DIRMINA-398
Project: MINA
Issue Type: Improvement
Components: Handler
Affects Versions: 1.1.0, 1.0.3
Reporter: Trustin Lee
Priority: Trivial
Fix For: 1.0.4, 1.1.1
DemuxingIoHandler's underlying Map implementation is a synchronized HashMap, which doesn't perform well under heavy load. It is because the map is accessed by many threads at the same time. Replacing it with a ConcurrentHashMap will improve the overall performance of DemuxingIoHandler.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
Re: [jira] Created: (DIRMINA-398) Change the default Map implementation
of DemuxingIoHandler to ConcurrentHashMap
Posted by Michael Bauroth <mi...@falcom.de>.
Ok, thanx Trustin.
Regards
Michael
Trustin Lee schrieb:
> On 7/10/07, Michael Bauroth <mi...@falcom.de> wrote:
>> Just a simple question, because I find this thing quite often:
>>
>> If you mark a change for e.g. 1.0.4, 1.1.1 does it mean that this change
>> is currently not available in 2.0.0 M1?
>
> It is because 2.0.0.-M1 is not released yet. :)
> We didn't release 2.x branch, so there's no such bug there. I'm
> checking in the fix to the trunk though.
>
> Trustin
Re: [jira] Created: (DIRMINA-398) Change the default Map implementation of DemuxingIoHandler to ConcurrentHashMap
Posted by Trustin Lee <tr...@gmail.com>.
On 7/10/07, Michael Bauroth <mi...@falcom.de> wrote:
> Just a simple question, because I find this thing quite often:
>
> If you mark a change for e.g. 1.0.4, 1.1.1 does it mean that this change
> is currently not available in 2.0.0 M1?
It is because 2.0.0.-M1 is not released yet. :)
We didn't release 2.x branch, so there's no such bug there. I'm
checking in the fix to the trunk though.
Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP Key ID: 0x0255ECA6
Re: [jira] Created: (DIRMINA-398) Change the default Map implementation
of DemuxingIoHandler to ConcurrentHashMap
Posted by Michael Bauroth <mi...@falcom.de>.
Just a simple question, because I find this thing quite often:
If you mark a change for e.g. 1.0.4, 1.1.1 does it mean that this change
is currently not available in 2.0.0 M1?
Regards
Michael
Trustin Lee (JIRA) schrieb:
> Change the default Map implementation of DemuxingIoHandler to ConcurrentHashMap
> -------------------------------------------------------------------------------
>
> Key: DIRMINA-398
> URL: https://issues.apache.org/jira/browse/DIRMINA-398
> Project: MINA
> Issue Type: Improvement
> Components: Handler
> Affects Versions: 1.1.0, 1.0.3
> Reporter: Trustin Lee
> Priority: Trivial
> Fix For: 1.0.4, 1.1.1
>
>
> DemuxingIoHandler's underlying Map implementation is a synchronized HashMap, which doesn't perform well under heavy load. It is because the map is accessed by many threads at the same time. Replacing it with a ConcurrentHashMap will improve the overall performance of DemuxingIoHandler.
>
[jira] Closed: (DIRMINA-398) Change the default Map implementation
of DemuxingIoHandler to ConcurrentHashMap
Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRMINA-398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Trustin Lee closed DIRMINA-398.
-------------------------------
Resolution: Fixed
Assignee: Trustin Lee
Done.
> Change the default Map implementation of DemuxingIoHandler to ConcurrentHashMap
> -------------------------------------------------------------------------------
>
> Key: DIRMINA-398
> URL: https://issues.apache.org/jira/browse/DIRMINA-398
> Project: MINA
> Issue Type: Improvement
> Components: Handler
> Affects Versions: 1.0.3, 1.1.0
> Reporter: Trustin Lee
> Assignee: Trustin Lee
> Priority: Trivial
> Fix For: 1.0.4, 1.1.1
>
>
> DemuxingIoHandler's underlying Map implementation is a synchronized HashMap, which doesn't perform well under heavy load. It is because the map is accessed by many threads at the same time. Replacing it with a ConcurrentHashMap will improve the overall performance of DemuxingIoHandler.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.