RFR (T): 8224042 Add private alignDown method to MappedByteBuffer
Andrew Dinn
adinn at redhat.com
Thu May 16 14:49:40 UTC 2019
Please review this trivial change to MapperByteBuffer which encapsulates
the page align down operation in a suitably named method.
JIRA: https://bugs.openjdk.java.net/browse/JDK-8224042
webrev: http://cr.openjdk.java.net/~adinn/8224042/webrev.00/
Testing:
This was successfully exercised by running
jdk/java/nio/channels/FileChannel/MapTest.java
The test rounds down a sequence of sub-page offsets to successive pages
within a mapped buffer during testing of MappedByteBuffer method force().
regards,
Andrew Dinn
-----------
Senior Principal Software Engineer
Red Hat UK Ltd
Registered in England and Wales under Company Registration No. 03798903
Directors: Michael Cunningham, Michael ("Mike") O'Neill, Eric Shander
More information about the core-libs-dev
mailing list