You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Francesco Nigro (JIRA)" <ji...@apache.org> on 2017/05/01 08:47:04 UTC

[jira] [Updated] (ARTEMIS-1136) Improve UnpooledUnsafeDirectByteBufWrapper

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

Francesco Nigro updated ARTEMIS-1136:
-------------------------------------
    Description: 
UnpooledUnsafeDirectByteBufWrapper is a utility class built with 2 purposes:
 - to adapt the ByteBuffer's API to Netty's ByteBuf
 - to be reusable with different ByteBuffer instances (ie to be used in hot paths without allocations)

To be used in different contexts it needs to extend the support to :
 - direct off-heap memory addresses
 - heap ByteBuffer instances
 - byte[] instances

  was:
UnpooledUnsafeDirectByteBufWrapper is a utility class built with 2 purposes:
 - to adapt the ByteBuffer's API to Netty's ByteBuf
 - to be reusable with different ByteBuffer instances (ie to be used in hot paths without allocations)

To be used in different contexts it needs the extend the support to :
 - direct off-heap memory addresses
 - heap ByteBuffer instances
 - byte[] instances


> Improve UnpooledUnsafeDirectByteBufWrapper
> ------------------------------------------
>
>                 Key: ARTEMIS-1136
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1136
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>          Components: Broker
>            Reporter: Francesco Nigro
>            Assignee: Francesco Nigro
>
> UnpooledUnsafeDirectByteBufWrapper is a utility class built with 2 purposes:
>  - to adapt the ByteBuffer's API to Netty's ByteBuf
>  - to be reusable with different ByteBuffer instances (ie to be used in hot paths without allocations)
> To be used in different contexts it needs to extend the support to :
>  - direct off-heap memory addresses
>  - heap ByteBuffer instances
>  - byte[] instances



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)