GitHub user franz1981 opened a pull request:
https://github.com/apache/activemq-artemis/pull/1403
ARTEMIS-1294 Reverted TimedBuffer timeout policy
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
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/franz1981/activemq-artemis timed_buffer_reverted
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq-artemis/pull/1403.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 #1403
commit 9dbeadcbc96cf3e551be95c12ea1d1fb83823e6f
Author: Francesco Nigro <nigro.fra@gmail.com>
Date: 2017-07-17T15:35:38Z
ARTEMIS-1294 Reverted TimedBuffer timeout policy
GitHub user franz1981 opened a pull request:
https://github.com/apache/activemq-artemis/pull/1403
ARTEMIS-1294Reverted TimedBuffer timeout policyThe timeout policy of TimedBuffer is reverted keeping the original timeout based, while retaining the other optimizations:
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/franz1981/activemq-artemis timed_buffer_reverted
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq-artemis/pull/1403.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 #1403
commit 9dbeadcbc96cf3e551be95c12ea1d1fb83823e6f
Author: Francesco Nigro <nigro.fra@gmail.com>
Date: 2017-07-17T15:35:38Z
ARTEMIS-1294Reverted TimedBuffer timeout policy