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

Issue 2903153002: [wasm] Increase WebAssembly.Memory maximum size to ~2GB (Closed)

Created:
3 years, 7 months ago by gdeepti
Modified:
3 years, 6 months ago
Reviewers:
Eric Holk, bradnelson
CC:
v8-reviews_googlegroups.com, wasm-v8_google.com
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

[wasm] Increase WebAssembly.Memory maximum size to 2GB BUG=v8:6478, chromium:729768 R=bradnelson@chromium.org, eholk@chromium.org Review-Url: https://codereview.chromium.org/2903153002 Cr-Original-Commit-Position: refs/heads/master@{#45931} Committed: https://chromium.googlesource.com/v8/v8/+/7e6ed62071d2756688a23bd6dac096b0d4660b5d Review-Url: https://codereview.chromium.org/2903153002 Cr-Commit-Position: refs/heads/master@{#45967} Committed: https://chromium.googlesource.com/v8/v8/+/1ff3e7ea3352e3ee4baf8851cfe80129cc5fa8e6

Patch Set 1 #

Patch Set 2 : Fix test to include -1 as a valid result #

Patch Set 3 : Remove check that crashed on wrap around #

Patch Set 4 : Add check back #

Patch Set 5 : Fix cast #

Patch Set 6 : Split, skip test on 32-bit simulators #

Patch Set 7 : Fix status file #

Patch Set 8 : Fix status again #

Total comments: 17

Patch Set 9 : Eric's review #

Total comments: 4

Patch Set 10 : Brad's review #

Patch Set 11 : Remove incorrect DCHECK #

Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -9 lines) Patch
M src/assembler.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -1 line 0 comments Download
M src/compiler/wasm-compiler.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -1 line 0 comments Download
M src/wasm/wasm-limits.h View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -1 line 0 comments Download
M test/mjsunit/wasm/grow-memory.js View 1 2 3 4 5 6 7 8 4 chunks +54 lines, -5 lines 0 comments Download
M test/mjsunit/wasm/import-memory.js View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -1 line 0 comments Download
A test/mjsunit/wasm/large-offset.js View 1 2 3 4 5 6 7 8 1 chunk +26 lines, -0 lines 0 comments Download

Messages

Total messages: 76 (63 generated)
gdeepti
3 years, 6 months ago (2017-06-13 07:54:53 UTC) #46
Eric Holk
https://codereview.chromium.org/2903153002/diff/160001/src/wasm/wasm-limits.h File src/wasm/wasm-limits.h (right): https://codereview.chromium.org/2903153002/diff/160001/src/wasm/wasm-limits.h#newcode25 src/wasm/wasm-limits.h:25: constexpr size_t kV8MaxWasmMemoryPages = 32767; // ~ 2 GiB ...
3 years, 6 months ago (2017-06-13 16:19:48 UTC) #48
gdeepti
https://codereview.chromium.org/2903153002/diff/160001/src/wasm/wasm-limits.h File src/wasm/wasm-limits.h (right): https://codereview.chromium.org/2903153002/diff/160001/src/wasm/wasm-limits.h#newcode25 src/wasm/wasm-limits.h:25: constexpr size_t kV8MaxWasmMemoryPages = 32767; // ~ 2 GiB ...
3 years, 6 months ago (2017-06-13 21:25:43 UTC) #51
Eric Holk
lgtm, but I don't have OWNERS. https://codereview.chromium.org/2903153002/diff/160001/src/wasm/wasm-limits.h File src/wasm/wasm-limits.h (right): https://codereview.chromium.org/2903153002/diff/160001/src/wasm/wasm-limits.h#newcode25 src/wasm/wasm-limits.h:25: constexpr size_t kV8MaxWasmMemoryPages ...
3 years, 6 months ago (2017-06-13 22:37:20 UTC) #54
gdeepti
Ping bradnelson@ for OWNERS review. https://codereview.chromium.org/2903153002/diff/180001/test/mjsunit/wasm/import-memory.js File test/mjsunit/wasm/import-memory.js (right): https://codereview.chromium.org/2903153002/diff/180001/test/mjsunit/wasm/import-memory.js#newcode180 test/mjsunit/wasm/import-memory.js:180: assertThrows(() => memory.grow(kV8MaxPages - ...
3 years, 6 months ago (2017-06-13 22:47:07 UTC) #55
bradnelson
lgtm https://codereview.chromium.org/2903153002/diff/180001/src/wasm/wasm-limits.h File src/wasm/wasm-limits.h (right): https://codereview.chromium.org/2903153002/diff/180001/src/wasm/wasm-limits.h#newcode25 src/wasm/wasm-limits.h:25: constexpr size_t kV8MaxWasmMemoryPages = 32767; // ~ 2 ...
3 years, 6 months ago (2017-06-13 23:34:24 UTC) #56
gdeepti
https://codereview.chromium.org/2903153002/diff/180001/src/wasm/wasm-limits.h File src/wasm/wasm-limits.h (right): https://codereview.chromium.org/2903153002/diff/180001/src/wasm/wasm-limits.h#newcode25 src/wasm/wasm-limits.h:25: constexpr size_t kV8MaxWasmMemoryPages = 32767; // ~ 2 GiB ...
3 years, 6 months ago (2017-06-14 00:28:16 UTC) #57
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/2903153002/200001
3 years, 6 months ago (2017-06-14 00:28:29 UTC) #60
commit-bot: I haz the power
Committed patchset #10 (id:200001) as https://chromium.googlesource.com/v8/v8/+/7e6ed62071d2756688a23bd6dac096b0d4660b5d
3 years, 6 months ago (2017-06-14 00:55:34 UTC) #63
Michael Achenbach
A revert of this CL (patchset #10 id:200001) has been created in https://codereview.chromium.org/2935243002/ by machenbach@chromium.org. ...
3 years, 6 months ago (2017-06-14 06:39:31 UTC) #64
gdeepti
On 2017/06/14 06:39:31, machenbach (OOO) wrote: > A revert of this CL (patchset #10 id:200001) ...
3 years, 6 months ago (2017-06-16 03:33:18 UTC) #72
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/2903153002/220001
3 years, 6 months ago (2017-06-16 03:33:25 UTC) #73
commit-bot: I haz the power
3 years, 6 months ago (2017-06-16 03:35:24 UTC) #76
Message was sent while issue was closed.
Committed patchset #11 (id:220001) as
https://chromium.googlesource.com/v8/v8/+/1ff3e7ea3352e3ee4baf8851cfe80129cc5...

Powered by Google App Engine
This is Rietveld 408576698