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

Issue 2319983002: [wasm] GrowMemory should use array_buffer_allocator instead of realloc. (Closed)

Created:
4 years, 3 months ago by gdeepti
Modified:
4 years, 3 months ago
Reviewers:
Michael Lippautz, ahaas
CC:
titzer, v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[wasm] GrowMemory should use array_buffer_allocator instead of realloc. - Using realloc is still unsafe as the allocator, using array_buffer_allocator - Fixing tests to avoid overlapping stores, adding more tests BUG=v8:5344 R=ahaas@chromium.org, mlippautz@chromium.org Committed: https://crrev.com/2a4b5933b8c0dc73a086bc1ffa5d3de3581f6808 Cr-Commit-Position: refs/heads/master@{#39329}

Patch Set 1 #

Total comments: 11

Patch Set 2 : Review changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+196 lines, -12 lines) Patch
M src/runtime/runtime-wasm.cc View 1 2 chunks +11 lines, -6 lines 0 comments Download
M test/mjsunit/wasm/grow-memory.js View 1 6 chunks +185 lines, -6 lines 0 comments Download

Messages

Total messages: 20 (12 generated)
gdeepti
https://codereview.chromium.org/2319983002/diff/1/src/runtime/runtime-wasm.cc File src/runtime/runtime-wasm.cc (right): https://codereview.chromium.org/2319983002/diff/1/src/runtime/runtime-wasm.cc#newcode105 src/runtime/runtime-wasm.cc:105: isolate->heap()->UnregisterArrayBuffer(*old_buffer); Is this the right way to deal with ...
4 years, 3 months ago (2016-09-08 06:04:47 UTC) #5
Michael Lippautz
Only looked at runtime/runtime-wasm.cc Deferring to Andreas for the full review. Thanks for fixing these ...
4 years, 3 months ago (2016-09-08 09:43:31 UTC) #7
ahaas
https://codereview.chromium.org/2319983002/diff/1/src/runtime/runtime-wasm.cc File src/runtime/runtime-wasm.cc (right): https://codereview.chromium.org/2319983002/diff/1/src/runtime/runtime-wasm.cc#newcode105 src/runtime/runtime-wasm.cc:105: isolate->heap()->UnregisterArrayBuffer(*old_buffer); On 2016/09/08 at 09:43:31, Michael Lippautz wrote: > ...
4 years, 3 months ago (2016-09-08 12:23:34 UTC) #8
gdeepti
https://codereview.chromium.org/2319983002/diff/1/src/runtime/runtime-wasm.cc File src/runtime/runtime-wasm.cc (right): https://codereview.chromium.org/2319983002/diff/1/src/runtime/runtime-wasm.cc#newcode105 src/runtime/runtime-wasm.cc:105: isolate->heap()->UnregisterArrayBuffer(*old_buffer); On 2016/09/08 09:43:31, Michael Lippautz (OOO Sep 25) ...
4 years, 3 months ago (2016-09-08 22:44:51 UTC) #11
ahaas
On 2016/09/08 at 22:44:51, gdeepti wrote: > https://codereview.chromium.org/2319983002/diff/1/src/runtime/runtime-wasm.cc > File src/runtime/runtime-wasm.cc (right): > > https://codereview.chromium.org/2319983002/diff/1/src/runtime/runtime-wasm.cc#newcode105 ...
4 years, 3 months ago (2016-09-12 07:09:23 UTC) #14
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/2319983002/20001
4 years, 3 months ago (2016-09-12 07:09:39 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-12 07:32:46 UTC) #18
commit-bot: I haz the power
4 years, 3 months ago (2016-09-12 07:33:08 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/2a4b5933b8c0dc73a086bc1ffa5d3de3581f6808
Cr-Commit-Position: refs/heads/master@{#39329}

Powered by Google App Engine
This is Rietveld 408576698