On 20/07/2018 14:50, Andrew Dinn wrote:
I have finally managed to draft a JEP to formally present the proposal I
circulated a month or two back regarding support for MappedByteBuffer
access to non-volatile memory.
JEP JIRA:
https://bugs.openjdk.java.net/browse/JDK-8207851
The JEP references a re-implementation of the proposed API:
http://cr.openjdk.java.net/~adinn/pmem/webrev.01/
The JEP proposes adding a map_persistent method to FileChannel. An
alternative may be to just add new MapModes that you can specify to the
existing map method. It would reduce the API surface and I think fit
better with the existing API.
-Alan