[
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-M5)
1.0.0-M6
> 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-M6
>
>
> 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.2#6252)