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

Issue 2520963002: [d8] Use virtual memory to allocate large array buffers. (Closed)

Created:
4 years ago by titzer
Modified:
4 years ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[d8] Use virtual memory to allocate large array buffers. R=mstarzinger@chromium.org,clemensh@chromium.org BUG= Committed: https://crrev.com/d96131ed9bf14bd7ec13bbf19c2c6caebf851a14 Cr-Commit-Position: refs/heads/master@{#41154}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Add MSAN hook #

Patch Set 3 : Update comment. #

Patch Set 4 : [d8] Use virtual memory to allocate large array buffers. #

Total comments: 1

Patch Set 5 : [d8] Use virtual memory to allocate large array buffers. #

Patch Set 6 : [d8] Use virtual memory to allocate large array buffers. #

Patch Set 7 : [d8] Use virtual memory to allocate large array buffers. #

Patch Set 8 : Fail for >= 2gb #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -2 lines) Patch
M src/d8.cc View 1 2 3 4 5 6 7 2 chunks +55 lines, -2 lines 0 comments Download

Messages

Total messages: 35 (22 generated)
titzer
4 years ago (2016-11-21 13:35:47 UTC) #1
Michael Starzinger
LGTM from my end, but I am not deeply familiar with the contract of {VirtualMemory}. ...
4 years ago (2016-11-21 13:58:09 UTC) #5
Michael Starzinger
https://codereview.chromium.org/2520963002/diff/1/src/d8.cc File src/d8.cc (right): https://codereview.chromium.org/2520963002/diff/1/src/d8.cc#newcode74 src/d8.cc:74: if (data && !base::VirtualMemory::CommitRegion(data, length, false)) { On 2016/11/21 ...
4 years ago (2016-11-21 13:59:33 UTC) #6
Clemens Hammacher
What happens in OOM situation on lazily allocated pages? OOM killer, no SEGV, right? Otherwise ...
4 years ago (2016-11-21 14:00:28 UTC) #8
titzer
On 2016/11/21 13:58:09, Michael Starzinger wrote: > LGTM from my end, but I am not ...
4 years ago (2016-11-21 15:34:18 UTC) #15
titzer
On 2016/11/21 14:00:28, Clemens Hammacher wrote: > What happens in OOM situation on lazily allocated ...
4 years ago (2016-11-21 15:36:16 UTC) #16
Clemens Hammacher
lgtm, very cool patch! https://codereview.chromium.org/2520963002/diff/60001/src/d8.cc File src/d8.cc (right): https://codereview.chromium.org/2520963002/diff/60001/src/d8.cc#newcode103 src/d8.cc:103: // If {length} is at ...
4 years ago (2016-11-21 15:49:24 UTC) #17
titzer
On 2016/11/21 15:49:24, Clemens Hammacher wrote: > lgtm, very cool patch! > > https://codereview.chromium.org/2520963002/diff/60001/src/d8.cc > ...
4 years ago (2016-11-21 16:01:22 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2520963002/80001
4 years ago (2016-11-21 16:01:36 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_dbg_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_dbg_ng/builds/16611) v8_linux_dbg_ng_triggered on master.tryserver.v8 (JOB_FAILED, ...
4 years ago (2016-11-21 16:22:42 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2520963002/140001
4 years ago (2016-11-21 17:34:49 UTC) #30
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years ago (2016-11-21 17:59:01 UTC) #33
commit-bot: I haz the power
4 years ago (2016-11-21 17:59:42 UTC) #35
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/d96131ed9bf14bd7ec13bbf19c2c6caebf851a14
Cr-Commit-Position: refs/heads/master@{#41154}

Powered by Google App Engine
This is Rietveld 408576698