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

Brian Burkhalter bpb at openjdk.java.net
Thu May 12 23:27:30 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 with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision:

 - 8286671: Update test pursuant to JEP 424 integration
 - Merge
 - 8286637: Update test with try-with-resources and to print less
 - 8286637: (fc) Memory mapped regions bigger than 2GB do not work correctly on Windows

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

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

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

  Stats: 977 lines in 30 files changed: 128 ins; 584 del; 265 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