Integrated: 8286637: (fc) Memory mapped regions bigger than 2GB do not work correctly on Windows

Brian Burkhalter bpb at openjdk.java.net
Wed May 18 14:53:05 UTC 2022


On Thu, 12 May 2022 19:15:23 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

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

This pull request has now been integrated.

Changeset: e934a2c7
Author:    Brian Burkhalter <bpb at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/e934a2c752266847f4ea88c207a2fc2a8e743ff1
Stats:     80 lines in 2 files changed: 79 ins; 0 del; 1 mod

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

Reviewed-by: uschindler, mcimadamore, jvernee, alanb

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

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


More information about the nio-dev mailing list