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

Issue 2393443003: [wasm] explicitly mark off unlinked wasm module instances (Closed)

Created:
4 years, 2 months ago by Mircea Trofin
Modified:
4 years, 2 months ago
Reviewers:
bradnelson
CC:
v8-reviews_googlegroups.com, Michael Hablich
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[wasm] explicitly mark off unlinked wasm module instances This fixes a gc stress bug. We cannot rely on an ordering of clearing of the weak cells, so we explicitly reset the weak link to the owning instance, when finalizing a compiled module. In turn, this serves as a reliable signal when GCs happen while instantiating, allowing us to correctly link the new instance. BUG=chromium:652425 Committed: https://crrev.com/c938f0df224b49d805503bbad98c4180f014e11a Cr-Commit-Position: refs/heads/master@{#39964}

Patch Set 1 : [wasm] reset owning instance explicitly #

Patch Set 2 : [wasm] reset owning instance explicitly #

Patch Set 3 : [wasm] reset owning instance explicitly #

Patch Set 4 : [wasm] reset owning instance explicitly #

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

Messages

Total messages: 30 (25 generated)
Mircea Trofin
4 years, 2 months ago (2016-10-04 19:53:28 UTC) #12
bradnelson
lgtm
4 years, 2 months ago (2016-10-04 21:18:36 UTC) #25
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/2393443003/80001
4 years, 2 months ago (2016-10-04 21:18:45 UTC) #26
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 2 months ago (2016-10-04 21:23:11 UTC) #28
commit-bot: I haz the power
4 years, 2 months ago (2016-10-04 21:23:31 UTC) #30
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/c938f0df224b49d805503bbad98c4180f014e11a
Cr-Commit-Position: refs/heads/master@{#39964}

Powered by Google App Engine
This is Rietveld 408576698