GitHub user ijuma opened a pull request:
https://github.com/apache/kafka/pull/3879
KAFKA-5915: Support unmapping of mapped/direct buffers in Java 9
As mentioned in MappedByteBuffers' class documentation, its
implementation was inspired by Lucene's MMapDirectory:
https://github.com/apache/lucene-solr/blob/releases/lucene-solr/6.6.1/lucene/core/src/java/org/apache/lucene/store/MMapDirectory.java#L315
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ijuma/kafka
kafka-5915-unmap-mapped-buffers-java-9
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/3879.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 #3879
----
commit e168f970ed726524b1d7f6ec70dfb4bfff8da754
Author: Ismael Juma <[email protected]>
Date: 2017-09-16T02:05:50Z
KAFKA-5915: Support unmapping of mapped/direct buffers in Java 9
----
---