GitHub user franz1981 opened a pull request:
https://github.com/apache/activemq-artemis/pull/2015
ARTEMIS-1807 File-based Large Message encoding should use read-only mmap
It provides a LargeBodyEncoder using a read only mapped view of the large
message file to encode the data to be sent. It saves unecessary copies and
context switches while consuming the encoded data.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/franz1981/activemq-artemis ARTEMIS-1807
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq-artemis/pull/2015.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 #2015
----
commit d3a221f99e30a7ba39898f0623fdd9a65c42d134
Author: Francesco Nigro <nigro.fra@...>
Date: 2018-04-15T15:17:19Z
ARTEMIS-1807 File-based Large Message encoding should use read-only mmap
It provides a LargeBodyEncoder using a read only mapped view of the large
message file to encode the data to be sent. It saves unecessary copies and
context switches while consuming the encoded data.
----
---