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

Issue 2627943002: [wasm] The interpreter should not grow memory beyond module->mem_max_pages. (Closed)

Created:
3 years, 11 months ago by ahaas
Modified:
3 years, 11 months ago
Reviewers:
titzer
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[wasm] The interpreter should not grow memory beyond module->mem_max_pages. R=titzer@chromium.org BUG=chromium:679352 TEST=cctest/test-run-wasm-interpreter/GrowMemory Review-Url: https://codereview.chromium.org/2627943002 Cr-Commit-Position: refs/heads/master@{#42240} Committed: https://chromium.googlesource.com/v8/v8/+/57c20f0b72145c849c6880b5aa04b729f0fa55de

Patch Set 1 #

Total comments: 2

Patch Set 2 : Comments addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -6 lines) Patch
M src/wasm/wasm-interpreter.cc View 1 2 chunks +5 lines, -2 lines 0 comments Download
M test/cctest/wasm/test-run-wasm-interpreter.cc View 1 chunk +14 lines, -4 lines 0 comments Download
M test/cctest/wasm/wasm-run-utils.h View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (11 generated)
ahaas
3 years, 11 months ago (2017-01-11 15:20:39 UTC) #1
titzer
lgtm with comment https://codereview.chromium.org/2627943002/diff/1/src/wasm/wasm-interpreter.cc File src/wasm/wasm-interpreter.cc (right): https://codereview.chromium.org/2627943002/diff/1/src/wasm/wasm-interpreter.cc#newcode684 src/wasm/wasm-interpreter.cc:684: if (new_size > wasm::kV8MaxWasmMemoryPages * wasm::WasmModule::kPageSize ...
3 years, 11 months ago (2017-01-11 15:27:06 UTC) #5
ahaas
https://codereview.chromium.org/2627943002/diff/1/src/wasm/wasm-interpreter.cc File src/wasm/wasm-interpreter.cc (right): https://codereview.chromium.org/2627943002/diff/1/src/wasm/wasm-interpreter.cc#newcode684 src/wasm/wasm-interpreter.cc:684: if (new_size > wasm::kV8MaxWasmMemoryPages * wasm::WasmModule::kPageSize || On 2017/01/11 ...
3 years, 11 months ago (2017-01-11 15:36:53 UTC) #7
titzer
On 2017/01/11 15:36:53, ahaas wrote: > https://codereview.chromium.org/2627943002/diff/1/src/wasm/wasm-interpreter.cc > File src/wasm/wasm-interpreter.cc (right): > > https://codereview.chromium.org/2627943002/diff/1/src/wasm/wasm-interpreter.cc#newcode684 > ...
3 years, 11 months ago (2017-01-11 15:37:38 UTC) #9
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/2627943002/20001
3 years, 11 months ago (2017-01-11 17:22:23 UTC) #14
commit-bot: I haz the power
3 years, 11 months ago (2017-01-11 17:24:06 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/v8/v8/+/57c20f0b72145c849c6880b5aa04b729f0f...

Powered by Google App Engine
This is Rietveld 408576698