RFR : 8221696: MappedByteBuffer.force method to specify range

Andrew Haley aph at redhat.com
Sun Apr 28 17:09:02 UTC 2019


On 4/25/19 5:34 PM, Andrew Dinn wrote:
>   long map_base = (address & ~(ps - 1));

This looks like a hard way to write

  long map_base = address & -ps;

-- 
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671


More information about the core-libs-dev mailing list