You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "matteodg (JIRA)" <ji...@apache.org> on 2009/11/17 17:51:39 UTC

[jira] Created: (DIRMINA-748) CachedBufferAllocator does not free buffers when maxCachedBufferSize=0

CachedBufferAllocator does not free buffers when maxCachedBufferSize=0
----------------------------------------------------------------------

                 Key: DIRMINA-748
                 URL: https://issues.apache.org/jira/browse/DIRMINA-748
             Project: MINA
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.0.0-RC1
            Reporter: matteodg
         Attachments: DIRMINA-748.patch

The CachedBufferAllocator created with maxCachedBufferSize=0 always allocates new buffers instead of reusing them.

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


[jira] Updated: (DIRMINA-748) CachedBufferAllocator does not free buffers when maxCachedBufferSize=0

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

Emmanuel Lecharny updated DIRMINA-748:
--------------------------------------

    Fix Version/s:     (was: 2.0.0-RC2)
                   2.0.0

> CachedBufferAllocator does not free buffers when maxCachedBufferSize=0
> ----------------------------------------------------------------------
>
>                 Key: DIRMINA-748
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-748
>             Project: MINA
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.0-RC1
>            Reporter: matteodg
>             Fix For: 2.0.0
>
>         Attachments: DIRMINA-748.patch
>
>
> The CachedBufferAllocator created with maxCachedBufferSize=0 always allocates new buffers instead of reusing them.

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


[jira] Updated: (DIRMINA-748) CachedBufferAllocator does not free buffers when maxCachedBufferSize=0

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

matteodg updated DIRMINA-748:
-----------------------------

    Attachment: DIRMINA-748.patch

Patch file for fixing bug in core/src/main/java/org/apache/mina/core/buffer/CachedBufferAllocator.java

> CachedBufferAllocator does not free buffers when maxCachedBufferSize=0
> ----------------------------------------------------------------------
>
>                 Key: DIRMINA-748
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-748
>             Project: MINA
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.0-RC1
>            Reporter: matteodg
>         Attachments: DIRMINA-748.patch
>
>
> The CachedBufferAllocator created with maxCachedBufferSize=0 always allocates new buffers instead of reusing them.

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


[jira] Updated: (DIRMINA-748) CachedBufferAllocator does not free buffers when maxCachedBufferSize=0

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

Emmanuel Lecharny updated DIRMINA-748:
--------------------------------------

    Fix Version/s: 2.0.0-RC2

> CachedBufferAllocator does not free buffers when maxCachedBufferSize=0
> ----------------------------------------------------------------------
>
>                 Key: DIRMINA-748
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-748
>             Project: MINA
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.0-RC1
>            Reporter: matteodg
>             Fix For: 2.0.0-RC2
>
>         Attachments: DIRMINA-748.patch
>
>
> The CachedBufferAllocator created with maxCachedBufferSize=0 always allocates new buffers instead of reusing them.

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


[jira] Resolved: (DIRMINA-748) CachedBufferAllocator does not free buffers when maxCachedBufferSize=0

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

Emmanuel Lecharny resolved DIRMINA-748.
---------------------------------------

    Resolution: Fixed

Doh... What a bug !

Thanks for the fix, it has been applied : http://svn.apache.org/viewvc?rev=899343&view=rev

> CachedBufferAllocator does not free buffers when maxCachedBufferSize=0
> ----------------------------------------------------------------------
>
>                 Key: DIRMINA-748
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-748
>             Project: MINA
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.0-RC1
>            Reporter: matteodg
>         Attachments: DIRMINA-748.patch
>
>
> The CachedBufferAllocator created with maxCachedBufferSize=0 always allocates new buffers instead of reusing them.

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