RFR: 8286637: (fc) Memory mapped regions bigger than 2GB do not work correctly on Windows
Brian Burkhalter
bpb at openjdk.java.net
Thu May 12 19:23:05 UTC 2022
Cast the last parameter `dwNumberOfBytesToMap` of `MapViewOfFile()` to a `SIZE_T`, not a `DWORD`, to avoid truncation.
-------------
Commit messages:
- 8286637: (fc) Memory mapped regions bigger than 2GB do not work correctly on Windows
Changes: https://git.openjdk.java.net/jdk/pull/8686/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=8686&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8286637
Stats: 75 lines in 2 files changed: 73 ins; 0 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