[
https://issues.apache.org/jira/browse/ARTEMIS-1294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16089990#comment-16089990
]
ASF GitHub Bot commented on ARTEMIS-1294:
-----------------------------------------
GitHub user franz1981 opened a pull request:
https://github.com/apache/activemq-artemis/pull/1404
ARTEMIS-1294 Reverted TimedBuffer timeout policy
(cherry picked from commit 9dbeadcbc96cf3e551be95c12ea1d1fb83823e6f)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/franz1981/activemq-artemis
1.x_timed_buffer_reverted
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq-artemis/pull/1404.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 #1404
----
commit 65d5decf61af633202a630ed02c6acb5da0badb9
Author: Francesco Nigro <[email protected]>
Date: 2017-07-17T15:35:38Z
ARTEMIS-1294 Reverted TimedBuffer timeout policy
(cherry picked from commit 9dbeadcbc96cf3e551be95c12ea1d1fb83823e6f)
----
> Reverted TimedBuffer timeout policy
> -----------------------------------
>
> Key: ARTEMIS-1294
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1294
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: Broker
> Reporter: Francesco Nigro
> Assignee: Francesco Nigro
>
> The timeout policy of TimedBuffer is reverted keeping the original timeout
> based, while retaining the other optimizations:
> - more memcpy under the hood vs single bytes copy
> - non-interruptible sleep (LockSupport.parkNanos)
> - off heap allocation
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)