Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(294)

Issue 2430473002: Implement File::Map on Windows. (Closed)

Created:
4 years, 2 months ago by rmacnak
Modified:
4 years, 2 months ago
Reviewers:
zra, Cutch
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 4

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Patch Set 5 : . #

Total comments: 10

Patch Set 6 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -13 lines) Patch
M runtime/bin/file_win.cc View 1 2 3 4 5 1 chunk +37 lines, -3 lines 0 comments Download
M runtime/bin/main.cc View 1 2 3 4 3 chunks +16 lines, -10 lines 0 comments Download

Messages

Total messages: 17 (3 generated)
rmacnak
./tools/build.py runtime ./tools/test.py -cdart2appjit -rdart_app --use-blobs language/first
4 years, 2 months ago (2016-10-17 19:25:29 UTC) #2
Cutch
some comments https://codereview.chromium.org/2430473002/diff/1/runtime/bin/file_win.cc File runtime/bin/file_win.cc (right): https://codereview.chromium.org/2430473002/diff/1/runtime/bin/file_win.cc#newcode90 runtime/bin/file_win.cc:90: HANDLE mapping = CreateFileMapping(handle_->fd(), NULL, flags, 0, ...
4 years, 2 months ago (2016-10-17 19:28:57 UTC) #3
rmacnak
https://codereview.chromium.org/2430473002/diff/1/runtime/bin/file_win.cc File runtime/bin/file_win.cc (right): https://codereview.chromium.org/2430473002/diff/1/runtime/bin/file_win.cc#newcode90 runtime/bin/file_win.cc:90: HANDLE mapping = CreateFileMapping(handle_->fd(), NULL, flags, 0, 0, NULL); ...
4 years, 2 months ago (2016-10-18 00:47:34 UTC) #4
rmacnak
4 years, 2 months ago (2016-10-18 17:45:04 UTC) #6
zra
On 2016/10/18 17:45:04, rmacnak wrote: Fixes for compile errors: void* File::Map(File::MapType type, int64_t position, int64_t ...
4 years, 2 months ago (2016-10-18 18:03:11 UTC) #7
zra
On 2016/10/18 18:03:11, zra wrote: > On 2016/10/18 17:45:04, rmacnak wrote: > > Fixes for ...
4 years, 2 months ago (2016-10-18 18:23:27 UTC) #8
rmacnak
On 2016/10/18 18:23:27, zra wrote: > On 2016/10/18 18:03:11, zra wrote: > > On 2016/10/18 ...
4 years, 2 months ago (2016-10-18 23:50:49 UTC) #9
rmacnak
Fixed dwDesiredAccess for an executable mapping.
4 years, 2 months ago (2016-10-19 18:18:28 UTC) #10
rmacnak
Falling back to VirtualAlloc + copying from the file.
4 years, 2 months ago (2016-10-19 20:03:21 UTC) #11
zra
Builds and tests pass https://chromiumcodereview.appspot.com/2430473002/diff/80001/runtime/bin/file_win.cc File runtime/bin/file_win.cc (right): https://chromiumcodereview.appspot.com/2430473002/diff/80001/runtime/bin/file_win.cc#newcode95 runtime/bin/file_win.cc:95: Log::PrintErr("VirtualAlloc failed %d", GetLastError()); \n ...
4 years, 2 months ago (2016-10-19 22:39:46 UTC) #12
zra
https://chromiumcodereview.appspot.com/2430473002/diff/80001/runtime/bin/file_win.cc File runtime/bin/file_win.cc (right): https://chromiumcodereview.appspot.com/2430473002/diff/80001/runtime/bin/file_win.cc#newcode100 runtime/bin/file_win.cc:100: if (!ReadFully(addr, length)) { VirtualFree(addr, 0, MEM_RELEASE) https://chromiumcodereview.appspot.com/2430473002/diff/80001/runtime/bin/file_win.cc#newcode107 runtime/bin/file_win.cc:107: ...
4 years, 2 months ago (2016-10-19 22:43:06 UTC) #13
rmacnak
Thanks! https://chromiumcodereview.appspot.com/2430473002/diff/80001/runtime/bin/file_win.cc File runtime/bin/file_win.cc (right): https://chromiumcodereview.appspot.com/2430473002/diff/80001/runtime/bin/file_win.cc#newcode95 runtime/bin/file_win.cc:95: Log::PrintErr("VirtualAlloc failed %d", GetLastError()); On 2016/10/19 22:39:45, zra ...
4 years, 2 months ago (2016-10-19 22:54:14 UTC) #14
zra
lgtm
4 years, 2 months ago (2016-10-19 22:57:07 UTC) #15
rmacnak
4 years, 2 months ago (2016-10-19 23:36:09 UTC) #17
Message was sent while issue was closed.
Committed patchset #6 (id:100001) manually as
c9c33d9db3c84646232ff23e51a4069dd5e92044 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698