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

Issue 2053273002: Remove WorkerBackingThread::scriptCount (Closed)

Created:
4 years, 6 months ago by yhirano
Modified:
4 years, 6 months ago
CC:
chromium-reviews, falken, kinuko+worker_chromium.org, blink-reviews, horo+watch_chromium.org, blink-worker-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove WorkerBackingThread::scriptCount This CL removes scriptCount from WorkerBackingThread. The count was needed for compositor workers, but we don't need it any more because of compositor workers' design change. Before this change, compositor workers are exempted from TerminateExecution call because multiple workers can share the same backing thread, but with this change TerminateExecution can be called for a compositor worker when it doesn't start the shutdown sequence in a timely manner. BUG=487050 Committed: https://crrev.com/17686215e73797de165dd749f8f77d1388f1ede6 Cr-Commit-Position: refs/heads/master@{#400102}

Patch Set 1 #

Patch Set 2 : fix #

Total comments: 5

Patch Set 3 : fix #

Patch Set 4 : rebase #

Messages

Total messages: 34 (14 generated)
yhirano
4 years, 6 months ago (2016-06-10 10:09:52 UTC) #6
nhiroki
lgtm https://codereview.chromium.org/2053273002/diff/60001/third_party/WebKit/Source/core/workers/WorkerThread.h File third_party/WebKit/Source/core/workers/WorkerThread.h (right): https://codereview.chromium.org/2053273002/diff/60001/third_party/WebKit/Source/core/workers/WorkerThread.h#newcode155 third_party/WebKit/Source/core/workers/WorkerThread.h:155: WaitableEvent* shutdownEventForTesting() { return m_shutdownEvent.get(); } I'd prefer ...
4 years, 6 months ago (2016-06-13 19:39:46 UTC) #7
haraken
This looks great! LGTM.
4 years, 6 months ago (2016-06-14 01:05:03 UTC) #8
kinuko
looks great, plus one high-level comment (not directly related to this CL) https://codereview.chromium.org/2053273002/diff/60001/third_party/WebKit/Source/core/workers/WorkerBackingThread.h File third_party/WebKit/Source/core/workers/WorkerBackingThread.h ...
4 years, 6 months ago (2016-06-14 09:06:56 UTC) #10
yhirano
+flackr@
4 years, 6 months ago (2016-06-14 11:05:32 UTC) #12
flackr
On 2016/06/14 at 11:05:32, yhirano wrote: > +flackr@ LGTM, thanks for doing this cleanup.
4 years, 6 months ago (2016-06-14 13:48:13 UTC) #14
yhirano
https://codereview.chromium.org/2053273002/diff/60001/third_party/WebKit/Source/core/workers/WorkerBackingThread.h File third_party/WebKit/Source/core/workers/WorkerBackingThread.h (right): https://codereview.chromium.org/2053273002/diff/60001/third_party/WebKit/Source/core/workers/WorkerBackingThread.h#newcode28 third_party/WebKit/Source/core/workers/WorkerBackingThread.h:28: class CORE_EXPORT WorkerBackingThread final { On 2016/06/14 09:06:56, kinuko ...
4 years, 6 months ago (2016-06-14 20:19:25 UTC) #15
nhiroki
https://codereview.chromium.org/2053273002/diff/60001/third_party/WebKit/Source/core/workers/WorkerBackingThread.h File third_party/WebKit/Source/core/workers/WorkerBackingThread.h (right): https://codereview.chromium.org/2053273002/diff/60001/third_party/WebKit/Source/core/workers/WorkerBackingThread.h#newcode28 third_party/WebKit/Source/core/workers/WorkerBackingThread.h:28: class CORE_EXPORT WorkerBackingThread final { On 2016/06/14 20:19:25, yhirano ...
4 years, 6 months ago (2016-06-15 05:51:19 UTC) #16
yhirano
https://codereview.chromium.org/2053273002/diff/60001/third_party/WebKit/Source/core/workers/WorkerThread.h File third_party/WebKit/Source/core/workers/WorkerThread.h (right): https://codereview.chromium.org/2053273002/diff/60001/third_party/WebKit/Source/core/workers/WorkerThread.h#newcode155 third_party/WebKit/Source/core/workers/WorkerThread.h:155: WaitableEvent* shutdownEventForTesting() { return m_shutdownEvent.get(); } On 2016/06/13 19:39:45, ...
4 years, 6 months ago (2016-06-15 08:12:28 UTC) #17
kinuko
On 2016/06/15 05:51:19, nhiroki (slow until Jun 20) wrote: > https://codereview.chromium.org/2053273002/diff/60001/third_party/WebKit/Source/core/workers/WorkerBackingThread.h > File third_party/WebKit/Source/core/workers/WorkerBackingThread.h (right): ...
4 years, 6 months ago (2016-06-16 01:57:18 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2053273002/80001
4 years, 6 months ago (2016-06-16 07:30:53 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:80001)
4 years, 6 months ago (2016-06-16 07:35:40 UTC) #23
commit-bot: I haz the power
CQ bit was unchecked
4 years, 6 months ago (2016-06-16 07:35:46 UTC) #24
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/17686215e73797de165dd749f8f77d1388f1ede6 Cr-Commit-Position: refs/heads/master@{#400102}
4 years, 6 months ago (2016-06-16 07:36:37 UTC) #26
Henrik Grunell
A revert of this CL (patchset #3 id:80001) has been created in https://codereview.chromium.org/2066403003/ by grunell@chromium.org. ...
4 years, 6 months ago (2016-06-16 11:52:28 UTC) #27
yhirano
reopen
4 years, 6 months ago (2016-06-16 12:32:54 UTC) #29
yhirano
4 years, 6 months ago (2016-06-17 09:17:53 UTC) #31
yhirano
On 2016/06/16 11:52:28, Henrik Grunell wrote: > A revert of this CL (patchset #3 id:80001) ...
4 years, 6 months ago (2016-06-17 09:19:18 UTC) #32
Henrik Grunell
On 2016/06/17 09:19:18, yhirano (unavailable in June) wrote: > On 2016/06/16 11:52:28, Henrik Grunell wrote: ...
4 years, 6 months ago (2016-06-17 09:58:04 UTC) #33
yhirano
4 years, 6 months ago (2016-06-17 11:56:25 UTC) #34
Message was sent while issue was closed.
On 2016/06/17 09:58:04, Henrik Grunell wrote:
> On 2016/06/17 09:19:18, yhirano (unavailable in June) wrote:
> > On 2016/06/16 11:52:28, Henrik Grunell wrote:
> > > A revert of this CL (patchset #3 id:80001) has been created in
> > > https://codereview.chromium.org/2066403003/ by
mailto:grunell@chromium.org.
> > > 
> > > The reason for reverting is: Two compositorworker tests have failed
flakily
> > > after this change:
> > > 
> > >
> >
>
https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Linux%20ASAN/b...
> > > 
> > >
> >
>
https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Linux%20ASAN/b....
> > 
> > Is the failure caused by this CL? It looks flaky with or without this CL.
> >
>
http://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=plu...
> 
> It was not this CL. The bot turned green before the revert landed. I'll revert
> the revert.

Thank you!

Powered by Google App Engine
This is Rietveld 408576698