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

Brian Burkhalter bpb at openjdk.java.net
Mon May 16 18:21:20 UTC 2022


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

Brian Burkhalter has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains one new 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/c689423d..0ec8134f

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

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 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