directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <>
Subject [jira] [Updated] (MAVIBOT-26) Create a pool of direct buffers
Date Wed, 08 Nov 2017 14:58:00 GMT


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

> Create a pool of direct buffers
> -------------------------------
>                 Key: MAVIBOT-26
>                 URL:
>             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

View raw message