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

Issue 2113183002: [wasm] Fix possible gc-ing of wasm import code objects (Closed)

Created:
4 years, 5 months ago by Mircea Trofin
Modified:
4 years, 5 months ago
Reviewers:
Michael Lippautz
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

[wasm] Fix possible gc-ing of wasm code objects If incremental GC starts before imports linking, and sees a wasm function, it won't revisit that after the imports that function are linked. As a result, the import code objects may be GC-ed. This change addresses this issue. BUG= Committed: https://crrev.com/462d57ae1faa422cad010f2a74b2a7ed94911edf Cr-Commit-Position: refs/heads/master@{#37507}

Patch Set 1 #

Patch Set 2 : better fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M src/wasm/wasm-module.cc View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 15 (6 generated)
Mircea Trofin
PTAL - and thanks for the help with this one. Your explanations were very helpful ...
4 years, 5 months ago (2016-07-02 01:53:52 UTC) #3
Michael Lippautz
Thanks, the write barrier is the proper fix here! However, use UPDATE_WRITE_BARRIER as the WB ...
4 years, 5 months ago (2016-07-04 07:54:11 UTC) #4
Mircea Trofin
On 2016/07/04 07:54:11, Michael Lippautz wrote: > Thanks, the write barrier is the proper fix ...
4 years, 5 months ago (2016-07-04 15:28:44 UTC) #5
Michael Lippautz
On 2016/07/04 15:28:44, Mircea Trofin wrote: > On 2016/07/04 07:54:11, Michael Lippautz wrote: > > ...
4 years, 5 months ago (2016-07-04 16:55:40 UTC) #6
Mircea Trofin
On 2016/07/04 16:55:40, Michael Lippautz wrote: > On 2016/07/04 15:28:44, Mircea Trofin wrote: > > ...
4 years, 5 months ago (2016-07-04 17:54:39 UTC) #8
Michael Lippautz
Thanks for persisting! LGTM
4 years, 5 months ago (2016-07-04 18:24:42 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/2113183002/20001
4 years, 5 months ago (2016-07-04 19:47:37 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 5 months ago (2016-07-04 20:09:02 UTC) #13
commit-bot: I haz the power
4 years, 5 months ago (2016-07-04 20:11:22 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/462d57ae1faa422cad010f2a74b2a7ed94911edf
Cr-Commit-Position: refs/heads/master@{#37507}

Powered by Google App Engine
This is Rietveld 408576698