RFR: 8286637: (fc) Memory mapped regions bigger than 2GB do not work correctly on Windows [v3]

Brian Burkhalter bpb at openjdk.java.net
Mon May 16 16:03:46 UTC 2022


> Cast the last parameter `dwNumberOfBytesToMap` of `MapViewOfFile()` to a `SIZE_T`, not a `DWORD`, to avoid truncation.

Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:

  8286671: Replace use of RandomAccessFile with FileChannel

-------------

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/8686/files
  - new: https://git.openjdk.java.net/jdk/pull/8686/files/b5c3b0d9..c689423d

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=8686&range=02
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=8686&range=01-02

  Stats: 4 lines in 1 file changed: 1 ins; 1 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/8686.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/8686/head:pull/8686

PR: https://git.openjdk.java.net/jdk/pull/8686


More information about the nio-dev mailing list