You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Emmanuel Lecharny (Updated) (JIRA)" <ji...@apache.org> on 2011/12/21 13:21:31 UTC

[jira] [Updated] (DIRMINA-878) We can reduce the number of buffers we use to store wrapped data

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

Emmanuel Lecharny updated DIRMINA-878:
--------------------------------------

    Affects Version/s:     (was: 3.0.0-M1)
                       3.0.0-trunk
    
> We can reduce the number of buffers we use to store wrapped data
> ----------------------------------------------------------------
>
>                 Key: DIRMINA-878
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-878
>             Project: MINA
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 3.0.0-trunk
>            Reporter: Emmanuel Lecharny
>             Fix For: 3.0.0-M1
>
>
> Currently, when we process the Handshake, we send as many buffer as we have NEED_WRAP events. If two NEED_WRAP events are consecutive, we could certainly use the same buffer, as each buffer is 16Ko big. That would save 2 byteBuffer allocation plus 32 Ko per handshake.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira