You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2017/11/08 14:58:00 UTC

[jira] [Updated] (MAVIBOT-26) Create a pool of direct buffers

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

Emmanuel Lecharny updated MAVIBOT-26:
-------------------------------------
    Fix Version/s:     (was: 1.0.0-M8)
                   1.0.0-M9

> Create a pool of direct buffers
> -------------------------------
>
>                 Key: MAVIBOT-26
>                 URL: https://issues.apache.org/jira/browse/MAVIBOT-26
>             Project: Mavibot
>          Issue Type: Improvement
>    Affects Versions: 1.0.0-M3
>            Reporter: Emmanuel Lecharny
>            Assignee: Emmanuel Lecharny
>             Fix For: 1.0.0-M9
>
>
> We allocate a new DirectBuffer for every single free page we allocate. Most of the time, we don't need many free pages, and once they have been used, the buffer can be discarded. It would be worthy to keep those byte buffers into a pool of buffer we can reuse.
> As the write thread is not concurrent, there is no need to synchronize this pool.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)