mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8286637: (fc) Memory mapped regions bigger than 2GB do not work correctly on Windows
Reviewed-by: uschindler, mcimadamore, jvernee, alanb
This commit is contained in:
parent
69ff86a320
commit
e934a2c752
2 changed files with 80 additions and 1 deletions
|
@ -105,7 +105,7 @@ Java_sun_nio_ch_FileChannelImpl_map0(JNIEnv *env, jobject this, jobject fdo,
|
|||
mapAccess, /* Read and write access */
|
||||
highOffset, /* High word of offset */
|
||||
lowOffset, /* Low word of offset */
|
||||
(DWORD)len); /* Number of bytes to map */
|
||||
(SIZE_T)len); /* Number of bytes to map */
|
||||
mapError = GetLastError();
|
||||
|
||||
result = CloseHandle(mapping);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue