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

Issue 2772973002: [wasm] Detach memory buffer only when GrowMemory is called from the JS API (Closed)

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

Description

[wasm] Detach memory buffer only when GrowMemory is called from the JS API BUG=chromium:699485 R=ahaas@chromium.org, bradnelson@chromium.org Review-Url: https://codereview.chromium.org/2772973002 Cr-Commit-Position: refs/heads/master@{#44166} Committed: https://chromium.googlesource.com/v8/v8/+/c8b2656622faff4d0ee53c251c859deaa87f7e7a

Patch Set 1 #

Patch Set 2 : Add IsNumber check #

Patch Set 3 : Test fix #

Total comments: 4

Patch Set 4 : Add comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -23 lines) Patch
M src/wasm/wasm-js.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/wasm/wasm-module.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/wasm/wasm-module.cc View 1 2 3 4 chunks +27 lines, -23 lines 0 comments Download
A test/mjsunit/regress/wasm/regression-699485.js View 1 2 1 chunk +22 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (15 generated)
gdeepti
3 years, 9 months ago (2017-03-24 00:38:28 UTC) #11
bradnelson
https://codereview.chromium.org/2772973002/diff/40001/src/wasm/wasm-module.cc File src/wasm/wasm-module.cc (right): https://codereview.chromium.org/2772973002/diff/40001/src/wasm/wasm-module.cc#newcode2353 src/wasm/wasm-module.cc:2353: old_buffer->byte_length()->IsNumber()) { Why is it ok to keep going ...
3 years, 9 months ago (2017-03-24 03:49:46 UTC) #14
ahaas
For this CL it would have been interesting for me what the reason for the ...
3 years, 9 months ago (2017-03-24 08:26:00 UTC) #15
ahaas
On 2017/03/24 at 08:26:00, ahaas wrote: > For this CL it would have been interesting ...
3 years, 9 months ago (2017-03-24 08:42:09 UTC) #16
gdeepti
On 2017/03/24 08:26:00, ahaas wrote: > For this CL it would have been interesting for ...
3 years, 9 months ago (2017-03-24 16:13:07 UTC) #17
gdeepti
https://codereview.chromium.org/2772973002/diff/40001/src/wasm/wasm-module.cc File src/wasm/wasm-module.cc (right): https://codereview.chromium.org/2772973002/diff/40001/src/wasm/wasm-module.cc#newcode2353 src/wasm/wasm-module.cc:2353: old_buffer->byte_length()->IsNumber()) { On 2017/03/24 08:26:00, ahaas wrote: > Could ...
3 years, 9 months ago (2017-03-24 16:13:19 UTC) #18
gdeepti
3 years, 9 months ago (2017-03-24 22:58:33 UTC) #19
gdeepti
On 2017/03/24 22:58:33, gdeepti wrote: ptal
3 years, 9 months ago (2017-03-27 17:48:09 UTC) #20
bradnelson
lgtm
3 years, 9 months ago (2017-03-27 22:35:51 UTC) #22
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/2772973002/60001
3 years, 9 months ago (2017-03-27 22:35:59 UTC) #23
commit-bot: I haz the power
3 years, 9 months ago (2017-03-27 23:00:03 UTC) #26
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/v8/v8/+/c8b2656622faff4d0ee53c251c859deaa87...

Powered by Google App Engine
This is Rietveld 408576698