8202116: (fc) FileChannel.map should ensure mapped region is backed by disk space

Alan Bateman Alan.Bateman at oracle.com
Tue Apr 24 15:47:49 UTC 2018


On 24/04/2018 11:56, Thomas Stüfe wrote:
> :
> Okay. I was concerned about situations where we may run with a version
> of glibc - or another libc - which uses the numerical value 4 for some
> valid but different thing. E.g. as scetched in this patch proposal:
>
> https://lwn.net/Articles/439719/
>
> I did not do any further research though, so if you think there is no
> risk, I am removing my objection.
>
That article seems to be pre-date the eventual addition (in Linux 3.1) 
where they choose a value of 4.

In any case, I've looked at several options and think what we have is 
the best of a bad bunch. We can always re-visit.

-Alan


More information about the nio-dev mailing list