RFR: 8207851 JEP Draft: Support ByteBuffer mapped over non-volatile memory
Alan Bateman
Alan.Bateman at oracle.com
Fri Jul 20 14:05:57 UTC 2018
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
More information about the core-libs-dev
mailing list