[GitHub] activemq-artemis pull request #2378: ARTEMIS-2131 Error compacting journal

2018-10-17 Thread asfgit
Github user asfgit closed the pull request at:

https://github.com/apache/activemq-artemis/pull/2378


---


[GitHub] activemq-artemis pull request #2378: ARTEMIS-2131 Error compacting journal

2018-10-17 Thread franz1981
GitHub user franz1981 opened a pull request:

https://github.com/apache/activemq-artemis/pull/2378

ARTEMIS-2131 Error compacting journal

Compaction cannot free a sliced view of a ByteBuffer on Java >=9:
the fix is using the original ByteBuffer instead of the slice
to perform a file write and allow it to be correctly released by
the Cleaner.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/franz1981/activemq-artemis ARTEMIS-2131

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/activemq-artemis/pull/2378.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 #2378


commit 28b75486c7ffa881452bc636e233b71fc5567708
Author: Francesco Nigro 
Date:   2018-10-17T13:10:04Z

ARTEMIS-2131 Error compacting journal

Compaction cannot free a sliced view of a ByteBuffer on Java >=9:
the fix is using the original ByteBuffer instead of the slice
to perform a file write and allow it to be correctly released by
the Cleaner.




---