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

Issue 1538543002: Have WasmModule free it's own memory. (Closed)

Created:
5 years ago by bradn
Modified:
5 years ago
Reviewers:
ahaas
CC:
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

Have WasmModule free it's own memory. Make WasmModule free it's own memory, avoid mixing stack and heap allocations in tests. This fixes several memory leaks. Fix several signed compare issues. Fix several floating point warnings. Don't setup heap as external, as then the GC can't collect it. Disable some tests that fail under ASAN. R=ahaas@chromium.org BUG= Committed: https://crrev.com/879b21a43a8ed6f8890e787edeb155c8aa435659 Cr-Commit-Position: refs/heads/master@{#32948}

Patch Set 1 #

Patch Set 2 : one more file #

Total comments: 2

Patch Set 3 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -69 lines) Patch
M src/wasm/wasm-module.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/wasm/wasm-module.cc View 3 chunks +22 lines, -4 lines 0 comments Download
M test/cctest/wasm/test-run-wasm.cc View 1 2 25 chunks +59 lines, -50 lines 0 comments Download
M test/cctest/wasm/test-run-wasm-module.cc View 4 chunks +16 lines, -0 lines 0 comments Download
M test/unittests/wasm/ast-decoder-unittest.cc View 1 1 chunk +12 lines, -15 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
bradn
5 years ago (2015-12-17 12:23:11 UTC) #3
ahaas
lgtm (with small nits) https://codereview.chromium.org/1538543002/diff/20001/test/cctest/wasm/test-run-wasm.cc File test/cctest/wasm/test-run-wasm.cc (right): https://codereview.chromium.org/1538543002/diff/20001/test/cctest/wasm/test-run-wasm.cc#newcode264 test/cctest/wasm/test-run-wasm.cc:264: unsigned int CompileAndAdd(TestingModule* module) { ...
5 years ago (2015-12-17 12:42:00 UTC) #4
bradn
https://codereview.chromium.org/1538543002/diff/20001/test/cctest/wasm/test-run-wasm.cc File test/cctest/wasm/test-run-wasm.cc (right): https://codereview.chromium.org/1538543002/diff/20001/test/cctest/wasm/test-run-wasm.cc#newcode264 test/cctest/wasm/test-run-wasm.cc:264: unsigned int CompileAndAdd(TestingModule* module) { On 2015/12/17 12:42:00, ahaas ...
5 years ago (2015-12-17 12:56:35 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1538543002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1538543002/40001
5 years ago (2015-12-17 12:58:16 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years ago (2015-12-17 13:27:29 UTC) #10
commit-bot: I haz the power
5 years ago (2015-12-17 13:27:44 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/879b21a43a8ed6f8890e787edeb155c8aa435659
Cr-Commit-Position: refs/heads/master@{#32948}

Powered by Google App Engine
This is Rietveld 408576698