8202261: (fc) FileChannel.map and RandomAccessFile.setLength should not preallocate space
Brian Burkhalter
brian.burkhalter at oracle.com
Wed Apr 25 23:30:22 UTC 2018
On Apr 25, 2018, at 7:46 AM, Alan Bateman <Alan.Bateman at oracle.com> wrote:
> Take 2 ...
>
> As we've been discussing in the other threads, the changes in JDK-8168628 in JDK 9 and 8uX were a mistake that we need to fix.
>
> […]
>
> So I've decided to close JDK-8202116 and instead use a subset of that patch to revert JDK-8168628. In summary, this reverts RandomAccessFile.setLength and FileChannel.map so that they don't preallocate space. The rest is just cleanup.
>
> http://cr.openjdk.java.net/~alanb/8202261/webrev/index.html
I think that this looks fine.
Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20180425/a076cd3e/attachment.html>
More information about the nio-dev
mailing list