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

Issue 2251903002: Destruct base::Thread before WorkerThread::terminateAndWait returns (Closed)

Created:
4 years, 4 months ago by haraken
Modified:
4 years, 4 months ago
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, shans, rjwright, tzik, blink-reviews-animation_chromium.org, serviceworker-reviews, nhiroki, falken, kinuko+serviceworker, blink-worker-reviews_chromium.org, darktears, blink-reviews, horo+watch_chromium.org, kinuko+worker_chromium.org, Eric Willigers
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Destruct base::Thread before WorkerThread::terminateAndWait returns This CL destructs base::Thread and its underlying system thread before WorkerThread::terminateAndWait returns. This is important to make sure that the main thread calls WTF::shutdown() after ThreadSpecifics of all threads are destructed. See 345240 for more details. BUG=345240 Committed: https://crrev.com/30d88091658428a57d4567d72f41a8a251031f68 Cr-Commit-Position: refs/heads/master@{#412735}

Patch Set 1 #

Total comments: 8

Patch Set 2 : temp #

Total comments: 2

Patch Set 3 : temp #

Patch Set 4 : temp #

Patch Set 5 : temp #

Messages

Total messages: 34 (17 generated)
haraken
PTAL
4 years, 4 months ago (2016-08-17 06:53:05 UTC) #4
yhirano
https://codereview.chromium.org/2251903002/diff/20001/third_party/WebKit/Source/core/workers/WorkerThread.cpp File third_party/WebKit/Source/core/workers/WorkerThread.cpp (right): https://codereview.chromium.org/2251903002/diff/20001/third_party/WebKit/Source/core/workers/WorkerThread.cpp#newcode220 third_party/WebKit/Source/core/workers/WorkerThread.cpp:220: clearWorkerBackingThread(); Don't you need to call this function in ...
4 years, 4 months ago (2016-08-17 07:15:54 UTC) #10
nhiroki
Thank you for working on this! https://codereview.chromium.org/2251903002/diff/1/third_party/WebKit/Source/core/workers/SharedWorkerThread.h File third_party/WebKit/Source/core/workers/SharedWorkerThread.h (right): https://codereview.chromium.org/2251903002/diff/1/third_party/WebKit/Source/core/workers/SharedWorkerThread.h#newcode48 third_party/WebKit/Source/core/workers/SharedWorkerThread.h:48: void clearWorkerBackingThread() override ...
4 years, 4 months ago (2016-08-17 07:24:20 UTC) #11
haraken
https://codereview.chromium.org/2251903002/diff/1/third_party/WebKit/Source/core/workers/SharedWorkerThread.h File third_party/WebKit/Source/core/workers/SharedWorkerThread.h (right): https://codereview.chromium.org/2251903002/diff/1/third_party/WebKit/Source/core/workers/SharedWorkerThread.h#newcode48 third_party/WebKit/Source/core/workers/SharedWorkerThread.h:48: void clearWorkerBackingThread() override {} On 2016/08/17 07:24:19, nhiroki wrote: ...
4 years, 4 months ago (2016-08-17 08:02:34 UTC) #12
nhiroki
lgtm
4 years, 4 months ago (2016-08-17 08:15:02 UTC) #13
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/2251903002/60001
4 years, 4 months ago (2016-08-17 08:16:39 UTC) #15
yhirano
lgtm
4 years, 4 months ago (2016-08-17 08:37:25 UTC) #16
Alexander Potapenko
On 2016/08/17 08:37:25, yhirano wrote: > lgtm Please remove the suppression from build/sanitizers/tsan_suppressions.cc and run ...
4 years, 4 months ago (2016-08-17 10:02:53 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/281450)
4 years, 4 months ago (2016-08-17 10:42:55 UTC) #19
haraken
On 2016/08/17 10:02:53, Alexander Potapenko wrote: > On 2016/08/17 08:37:25, yhirano wrote: > > lgtm ...
4 years, 4 months ago (2016-08-17 11:10:56 UTC) #21
Alexander Potapenko
On 2016/08/17 11:10:56, haraken wrote: > On 2016/08/17 10:02:53, Alexander Potapenko wrote: > > On ...
4 years, 4 months ago (2016-08-17 13:36:17 UTC) #25
haraken
On 2016/08/17 13:36:17, Alexander Potapenko wrote: > On 2016/08/17 11:10:56, haraken wrote: > > On ...
4 years, 4 months ago (2016-08-18 02:22:18 UTC) #26
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/2251903002/80001
4 years, 4 months ago (2016-08-18 02:22:41 UTC) #29
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 4 months ago (2016-08-18 04:02:49 UTC) #30
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/30d88091658428a57d4567d72f41a8a251031f68 Cr-Commit-Position: refs/heads/master@{#412735}
4 years, 4 months ago (2016-08-18 04:06:04 UTC) #32
Alexander Potapenko
On 2016/08/18 04:06:04, commit-bot: I haz the power wrote: > Patchset 5 (id:??) landed as ...
4 years, 4 months ago (2016-08-18 07:07:32 UTC) #33
haraken
4 years, 4 months ago (2016-08-18 08:08:20 UTC) #34
Message was sent while issue was closed.
On 2016/08/18 07:07:32, Alexander Potapenko wrote:
> On 2016/08/18 04:06:04, commit-bot: I haz the power wrote:
> > Patchset 5 (id:??) landed as
> > https://crrev.com/30d88091658428a57d4567d72f41a8a251031f68
> > Cr-Commit-Position: refs/heads/master@{#412735}
> 
> Sorry, I just meant check that the stacks in the trybot log don't ring the
bell.

Ah, I don't think that's related to this CL.

Powered by Google App Engine
This is Rietveld 408576698