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

Issue 2548223002: [wasm] Update WasmMemoryObject correctly when module memory is exported. (Closed)

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

Description

[wasm] Update WasmMemoryObject correctly when module memory is exported. BUG=chromium:670683 R=titzer@chromium.org Committed: https://crrev.com/0061089aa01d031c91373477dab422a35fb1d5fc Cr-Commit-Position: refs/heads/master@{#41603}

Patch Set 1 #

Patch Set 2 : Add export-grow test in import-memory.js #

Total comments: 3

Patch Set 3 : Fix bot failures #

Patch Set 4 : Format #

Total comments: 2

Patch Set 5 : Eric's review #

Patch Set 6 : Remove incorrect fix #

Patch Set 7 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -5 lines) Patch
M src/wasm/wasm-module.cc View 1 2 3 4 5 6 3 chunks +9 lines, -5 lines 0 comments Download
A test/mjsunit/regress/wasm/regression-670683.js View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download
M test/mjsunit/wasm/import-memory.js View 1 2 3 4 5 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 55 (41 generated)
gdeepti
4 years ago (2016-12-04 17:22:03 UTC) #5
gdeepti
4 years ago (2016-12-04 17:27:24 UTC) #7
gdeepti
https://codereview.chromium.org/2548223002/diff/20001/test/mjsunit/wasm/import-memory.js File test/mjsunit/wasm/import-memory.js (right): https://codereview.chromium.org/2548223002/diff/20001/test/mjsunit/wasm/import-memory.js#newcode384 test/mjsunit/wasm/import-memory.js:384: assertEquals(kPageSize, instance.exports.exported_mem.buffer.byteLength); As per my understanding, this should be ...
4 years ago (2016-12-04 17:48:37 UTC) #12
titzer
https://codereview.chromium.org/2548223002/diff/20001/test/mjsunit/wasm/import-memory.js File test/mjsunit/wasm/import-memory.js (right): https://codereview.chromium.org/2548223002/diff/20001/test/mjsunit/wasm/import-memory.js#newcode384 test/mjsunit/wasm/import-memory.js:384: assertEquals(kPageSize, instance.exports.exported_mem.buffer.byteLength); On 2016/12/04 17:48:37, gdeepti wrote: > As ...
4 years ago (2016-12-05 09:40:54 UTC) #21
gdeepti
https://codereview.chromium.org/2548223002/diff/20001/test/mjsunit/wasm/import-memory.js File test/mjsunit/wasm/import-memory.js (right): https://codereview.chromium.org/2548223002/diff/20001/test/mjsunit/wasm/import-memory.js#newcode384 test/mjsunit/wasm/import-memory.js:384: assertEquals(kPageSize, instance.exports.exported_mem.buffer.byteLength); On 2016/12/05 09:40:54, titzer wrote: > On ...
4 years ago (2016-12-05 17:31:07 UTC) #22
Eric Holk
https://codereview.chromium.org/2548223002/diff/60001/src/wasm/wasm-module.cc File src/wasm/wasm-module.cc (right): https://codereview.chromium.org/2548223002/diff/60001/src/wasm/wasm-module.cc#newcode1794 src/wasm/wasm-module.cc:1794: if (!buffer.is_null() && buffer->has_guard_region()) { We talked about this ...
4 years ago (2016-12-05 19:54:52 UTC) #23
gdeepti
PTAL Previous fix was incorrect, fixed now. Updated issue subject, test. https://codereview.chromium.org/2548223002/diff/60001/src/wasm/wasm-module.cc File src/wasm/wasm-module.cc (right): ...
4 years ago (2016-12-07 07:10:34 UTC) #38
Eric Holk
lgtm from my standpoint.
4 years ago (2016-12-07 18:25:50 UTC) #39
gdeepti
Ping Brad/Ben for owners review.
4 years ago (2016-12-08 07:38:29 UTC) #44
gdeepti
On 2016/12/08 07:38:29, gdeepti wrote: > Ping Brad/Ben for owners review. Ping++ as chromium:671783, chromium:671761 ...
4 years ago (2016-12-08 20:26:38 UTC) #45
bradnelson
lgtm
4 years ago (2016-12-08 20:28:12 UTC) #48
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/2548223002/140001
4 years ago (2016-12-08 20:28:21 UTC) #50
commit-bot: I haz the power
Committed patchset #7 (id:140001)
4 years ago (2016-12-08 20:30:26 UTC) #53
commit-bot: I haz the power
4 years ago (2016-12-08 20:31:08 UTC) #55
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/0061089aa01d031c91373477dab422a35fb1d5fc
Cr-Commit-Position: refs/heads/master@{#41603}

Powered by Google App Engine
This is Rietveld 408576698