On 04/11/2016 18:32, David M. Lloyd wrote:
I still feel like it could be a problem to have just one simple
getPageSize method, given how many CPU architectures and OSes support
multiple page sizes.
Yes.
$ pagesize -a
8192
65536
4194304
268435456
2147483648
--
Alan Burlison
--
Hi Paul,
On 5/11/2016 2:58 AM, Paul Sandoz wrote:
Hi Lucy,
I am struggling to find an entirely satisfactory location to place a method
such as getPageSize, but java.lang.Runtime seems less worse than other places
:-)
This does not seem an appropriate method to expose in this form at the
ja
Hi Alan and David,
Thank you for your email.
I totally agree that OS kernel supports multiple page sizes. For example, my
Linux box supports both 4K and 2M pages. Currently, our getAlignment() function
inside FileChannel/FileChannelImpl calls an existing function
sun.nio.ch.Util.pageSize() whi