You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/05/01 08:49:04 UTC
[jira] [Commented] (ARTEMIS-1136) Improve
UnpooledUnsafeDirectByteBufWrapper
[ https://issues.apache.org/jira/browse/ARTEMIS-1136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15990679#comment-15990679 ]
ASF GitHub Bot commented on ARTEMIS-1136:
-----------------------------------------
GitHub user franz1981 opened a pull request:
https://github.com/apache/activemq-artemis/pull/1238
ARTEMIS-1136 Improve UnpooledUnsafeDirectByteBufWrapper
Extends the ByteBuf support to wrap :
- direct off-heap memory addresses
- heap ByteBuffer instances
- byte[] instances
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/franz1981/activemq-artemis improved_bytebuf_wrapper
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq-artemis/pull/1238.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1238
----
commit 9445fea71676f47b6a61313857a27510b05a4e3e
Author: Francesco Nigro <ni...@gmail.com>
Date: 2017-04-30T06:11:41Z
ARTEMIS-1136 Improve UnpooledUnsafeDirectByteBufWrapper
----
> 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)