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

Issue 1969673004: All worker threads should be joined before main thread's V8 isolate is destroyed (Closed)

Created:
4 years, 7 months ago by haraken
Modified:
4 years, 7 months ago
CC:
chromium-reviews, blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

All worker threads should be joined before main thread's V8 isolate is destroyed Currently the following scenario can happen: 1) The main thread calls blink::shutdown(). 2) The main thread calls V8Initializer::shutdown(), which destroys the V8 isolate. 3) Worker threads are still running and can trigger Oilpan's GC (<== this accesses the isolate and causes crash). 4) The main thread calls modulesInitializer().shutdown() and joins all workers. To address the issue, this CL moves 4) to between 1) and 2). BUG=610987 Committed: https://crrev.com/3c35abf17d76b2e4fe491a703b68b17c48725eeb Cr-Commit-Position: refs/heads/master@{#392913}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -4 lines) Patch
M third_party/WebKit/Source/web/WebKit.cpp View 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
haraken
PTAL
4 years, 7 months ago (2016-05-11 11:11:11 UTC) #2
sof
lgtm It looks like https://codereview.chromium.org/1775563004 didn't hold.
4 years, 7 months ago (2016-05-11 11:32:50 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1969673004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1969673004/1
4 years, 7 months ago (2016-05-11 11:35:23 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 7 months ago (2016-05-11 14:07:05 UTC) #6
commit-bot: I haz the power
4 years, 7 months ago (2016-05-11 14:08:57 UTC) #8
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/3c35abf17d76b2e4fe491a703b68b17c48725eeb
Cr-Commit-Position: refs/heads/master@{#392913}

Powered by Google App Engine
This is Rietveld 408576698