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

Issue 2124693002: Worker: Fix broken GC logic on Dedicated Worker while DOMTimer is set (Closed)

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

Description

Worker: Fix broken GC logic on Dedicated Worker while DOMTimer is set V8GC detemines whether a Dedicated Worker can be collectable by checking pending activities on WorkerGlobalScope. This activity state is managed by InProcessWorkerMessagingProxy on the main thread. In some situation, this logic is broken and this CL fixes it. <Before this CL> InProcessWorkerObjectProxy on the worker thread reports pending activities to the main thread in following cases: (1) After DedicatedWorkerThread is initialized, reports that there are no pending activities regardless of whether they exist. (2) After MessageEvent is dispatched, checks a pending activity using V8GCController and reports a result. This logic does not work when a DOMTimer is set on initial script evaluation or on MessageEvent. DOMTimer must be treated as a pending activity[*], but both (1) and (2) do not take care of it (regarding 2, DOMTimer is not a ScriptWrappable and V8GCController does not count such an object). As a result, a worker can be GC'ed even if there is still an active timer. <After this CL> After initial script evaluation or MessageEvent, the object proxy starts an exponential backoff timer to periodically check an activity state and reports to the messaging proxy when all activities are done. The messaging proxy reports to the GC that the worker object is collectable after all posted messages and pending activities are completed. [*] https://html.spec.whatwg.org/multipage/workers.html#the-worker's-lifetime BUG=572226, 584851 Committed: https://crrev.com/9af6c91f5bc79d12247a5780071c44025e4c026d Cr-Commit-Position: refs/heads/master@{#413052}

Patch Set 1 #

Total comments: 18

Patch Set 2 : rebase #

Patch Set 3 : partially address review comments #

Patch Set 4 : address review comments and add more tests #

Patch Set 5 : stop checking pending activities on message event dispatching #

Total comments: 22

Patch Set 6 : rebase #

Patch Set 7 : address review comments (postDelayedTask -> Timer, etc) #

Patch Set 8 : address review comments more and minimize diff of this CL #

Patch Set 9 : remove NOTREACHED from CompositorWorkerTaskRunnerWrapper::GetTimeDomain() #

Patch Set 10 : fix win builds #

Patch Set 11 : annotate WorkerGlobalScope interface with 'ActiveScriptWrappable' and make tests stricter #

Total comments: 17

Patch Set 12 : rebase #

Patch Set 13 : address review comments #

Patch Set 14 : add DependentLifetime annotation to WorkerGlobalScope.idl for fixing layout tests #

Patch Set 15 : rebase #

Total comments: 4

Patch Set 16 : return if the timer is active #

Total comments: 5

Patch Set 17 : reset the next interval duration #

Patch Set 18 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+477 lines, -62 lines) Patch
M third_party/WebKit/Source/core/core.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/DOMTimerCoordinator.h View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/DOMTimerCoordinator.cpp View 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/workers/DedicatedWorkerGlobalScope.h View 1 chunk +2 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/workers/DedicatedWorkerTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +314 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/workers/DedicatedWorkerThread.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/workers/DedicatedWorkerThread.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +0 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +10 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 6 chunks +38 lines, -24 lines 0 comments Download
M third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +31 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 6 chunks +57 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerGlobalScope.h View 1 2 3 4 5 3 chunks +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerGlobalScope.cpp View 1 2 3 4 5 2 chunks +7 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerGlobalScope.idl View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerThread.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerThread.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +0 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/scheduler/child/compositor_worker_scheduler.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 176 (123 generated)
nhiroki
Hi, can you review this? +haraken@ (and kinuko@) for the entire CL. +tzik@ for usage ...
4 years, 4 months ago (2016-08-04 10:13:55 UTC) #57
tzik
lgtm https://codereview.chromium.org/2124693002/diff/400001/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp File third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp (right): https://codereview.chromium.org/2124693002/diff/400001/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp#newcode129 third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp:129: m_taskCanceller.cancel(); nit: cancel() is noop if isActive() returns ...
4 years, 4 months ago (2016-08-05 05:16:07 UTC) #58
haraken
Sorry about the delayed review. https://codereview.chromium.org/2124693002/diff/400001/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp File third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp (right): https://codereview.chromium.org/2124693002/diff/400001/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp#newcode51 third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp:51: const long long kMaxDelayToCheckPendingActivityInMs ...
4 years, 4 months ago (2016-08-05 08:20:58 UTC) #59
kinuko
https://codereview.chromium.org/2124693002/diff/400001/third_party/WebKit/Source/core/workers/DedicatedWorkerThread.cpp File third_party/WebKit/Source/core/workers/DedicatedWorkerThread.cpp (right): https://codereview.chromium.org/2124693002/diff/400001/third_party/WebKit/Source/core/workers/DedicatedWorkerThread.cpp#newcode69 third_party/WebKit/Source/core/workers/DedicatedWorkerThread.cpp:69: void DedicatedWorkerThread::postInitialize() nit: can we rename this to... say, ...
4 years, 4 months ago (2016-08-05 14:55:29 UTC) #60
nhiroki
Thank you for reviewing. Updated. PTAL. https://codereview.chromium.org/2124693002/diff/400001/third_party/WebKit/Source/core/workers/DedicatedWorkerThread.cpp File third_party/WebKit/Source/core/workers/DedicatedWorkerThread.cpp (right): https://codereview.chromium.org/2124693002/diff/400001/third_party/WebKit/Source/core/workers/DedicatedWorkerThread.cpp#newcode69 third_party/WebKit/Source/core/workers/DedicatedWorkerThread.cpp:69: void DedicatedWorkerThread::postInitialize() On ...
4 years, 4 months ago (2016-08-08 09:19:14 UTC) #67
haraken
https://codereview.chromium.org/2124693002/diff/400001/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp File third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp (right): https://codereview.chromium.org/2124693002/diff/400001/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp#newcode51 third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp:51: const long long kMaxDelayToCheckPendingActivityInMs = 30; // 30 secs ...
4 years, 4 months ago (2016-08-08 11:00:55 UTC) #70
nhiroki
https://codereview.chromium.org/2124693002/diff/400001/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp File third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp (right): https://codereview.chromium.org/2124693002/diff/400001/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp#newcode51 third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp:51: const long long kMaxDelayToCheckPendingActivityInMs = 30; // 30 secs ...
4 years, 4 months ago (2016-08-08 11:35:34 UTC) #71
haraken
On 2016/08/08 11:35:34, nhiroki (slow) wrote: > https://codereview.chromium.org/2124693002/diff/400001/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp > File third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp > (right): > > ...
4 years, 4 months ago (2016-08-08 11:48:32 UTC) #72
nhiroki
On 2016/08/08 11:48:32, haraken wrote: > On 2016/08/08 11:35:34, nhiroki (slow) wrote: > > > ...
4 years, 4 months ago (2016-08-09 02:26:56 UTC) #73
nhiroki
On 2016/08/09 02:26:56, nhiroki wrote: > On 2016/08/08 11:48:32, haraken wrote: > > On 2016/08/08 ...
4 years, 4 months ago (2016-08-09 04:52:33 UTC) #74
nhiroki
Updated. Can you take another look? The patchset 5 stops costly checkPendingActivity() call on message ...
4 years, 4 months ago (2016-08-09 09:05:30 UTC) #79
kinuko
https://codereview.chromium.org/2124693002/diff/560001/third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.cpp File third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.cpp (right): https://codereview.chromium.org/2124693002/diff/560001/third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.cpp#newcode141 third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.cpp:141: // A message event is an activity and may ...
4 years, 4 months ago (2016-08-09 16:59:10 UTC) #82
haraken
The overall approach looks good. https://codereview.chromium.org/2124693002/diff/560001/third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.h File third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.h (right): https://codereview.chromium.org/2124693002/diff/560001/third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.h#newcode74 third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.h:74: virtual void reportPendingActivity(); On ...
4 years, 4 months ago (2016-08-10 02:33:14 UTC) #83
nhiroki
Thank you for reviewing! Updated. PTAL. (I'll revise the CL description later) https://codereview.chromium.org/2124693002/diff/560001/third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.cpp File third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.cpp ...
4 years, 4 months ago (2016-08-15 05:52:11 UTC) #86
haraken
https://codereview.chromium.org/2124693002/diff/560001/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp File third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp (right): https://codereview.chromium.org/2124693002/diff/560001/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp#newcode142 third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp:142: bool hasPendingActivity = workerGlobalScope->hasPendingActivity() || V8GCController::hasPendingActivity(workerGlobalScope->thread()->isolate(), workerGlobalScope); On 2016/08/15 ...
4 years, 4 months ago (2016-08-15 06:50:39 UTC) #89
nhiroki
https://codereview.chromium.org/2124693002/diff/560001/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp File third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp (right): https://codereview.chromium.org/2124693002/diff/560001/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp#newcode142 third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp:142: bool hasPendingActivity = workerGlobalScope->hasPendingActivity() || V8GCController::hasPendingActivity(workerGlobalScope->thread()->isolate(), workerGlobalScope); On 2016/08/15 ...
4 years, 4 months ago (2016-08-15 08:01:33 UTC) #90
nhiroki
Layout tests for compositor workers fail on NOTREACHED at CompositorWorkerTaskRunnerWrapper::GetTimeDomain() called from TimerBase::startOneShot(). crash log ...
4 years, 4 months ago (2016-08-15 08:29:20 UTC) #91
haraken
https://codereview.chromium.org/2124693002/diff/560001/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp File third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp (right): https://codereview.chromium.org/2124693002/diff/560001/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp#newcode142 third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp:142: bool hasPendingActivity = workerGlobalScope->hasPendingActivity() || V8GCController::hasPendingActivity(workerGlobalScope->thread()->isolate(), workerGlobalScope); On 2016/08/15 ...
4 years, 4 months ago (2016-08-15 14:36:35 UTC) #93
haraken
On 2016/08/15 08:29:20, nhiroki wrote: > Layout tests for compositor workers fail on NOTREACHED at ...
4 years, 4 months ago (2016-08-15 14:37:14 UTC) #95
alex clarke (OOO till 29th)
On 2016/08/15 14:37:14, haraken wrote: > On 2016/08/15 08:29:20, nhiroki wrote: > > Layout tests ...
4 years, 4 months ago (2016-08-15 15:21:11 UTC) #98
Sami
On 2016/08/15 15:21:11, alex clarke wrote: > Sami it looks like the CompositorWorkerScheduler is biting ...
4 years, 4 months ago (2016-08-15 15:42:47 UTC) #100
nhiroki
haraken@, thank you for routing :) On 2016/08/15 15:42:47, Sami wrote: > On 2016/08/15 15:21:11, ...
4 years, 4 months ago (2016-08-16 02:07:03 UTC) #108
Yuki
https://codereview.chromium.org/2124693002/diff/560001/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp File third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp (right): https://codereview.chromium.org/2124693002/diff/560001/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp#newcode142 third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp:142: bool hasPendingActivity = workerGlobalScope->hasPendingActivity() || V8GCController::hasPendingActivity(workerGlobalScope->thread()->isolate(), workerGlobalScope); On 2016/08/15 ...
4 years, 4 months ago (2016-08-16 06:08:58 UTC) #111
haraken
On 2016/08/16 06:08:58, Yuki wrote: > https://codereview.chromium.org/2124693002/diff/560001/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp > File third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp > (right): > > https://codereview.chromium.org/2124693002/diff/560001/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp#newcode142 ...
4 years, 4 months ago (2016-08-16 06:10:57 UTC) #112
nhiroki
Thank you! Updated. PTAL. https://codereview.chromium.org/2124693002/diff/560001/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp File third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp (right): https://codereview.chromium.org/2124693002/diff/560001/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp#newcode142 third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp:142: bool hasPendingActivity = workerGlobalScope->hasPendingActivity() || ...
4 years, 4 months ago (2016-08-16 07:08:58 UTC) #115
Yuki
On 2016/08/16 06:10:57, haraken wrote: > Oh... nice catch. Is there any way to catch ...
4 years, 4 months ago (2016-08-16 07:10:25 UTC) #116
Sami
third_party/WebKit/Source/platform/scheduler/child/compositor_worker_scheduler.cc lgtm
4 years, 4 months ago (2016-08-16 10:07:32 UTC) #119
haraken
Mostly looks good. https://codereview.chromium.org/2124693002/diff/680001/third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.cpp File third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.cpp (right): https://codereview.chromium.org/2124693002/diff/680001/third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.cpp#newcode298 third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.cpp:298: m_workerGlobalScopeMayHavePendingActivity = false; I'm wondering why ...
4 years, 4 months ago (2016-08-16 12:17:40 UTC) #120
kinuko
https://codereview.chromium.org/2124693002/diff/680001/third_party/WebKit/Source/core/workers/DedicatedWorkerTest.cpp File third_party/WebKit/Source/core/workers/DedicatedWorkerTest.cpp (right): https://codereview.chromium.org/2124693002/diff/680001/third_party/WebKit/Source/core/workers/DedicatedWorkerTest.cpp#newcode35 third_party/WebKit/Source/core/workers/DedicatedWorkerTest.cpp:35: }; nit: No need of trailing ; https://codereview.chromium.org/2124693002/diff/680001/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp File ...
4 years, 4 months ago (2016-08-16 21:37:38 UTC) #121
nhiroki
Thank you for your comments! Updated. https://codereview.chromium.org/2124693002/diff/680001/third_party/WebKit/Source/core/workers/DedicatedWorkerTest.cpp File third_party/WebKit/Source/core/workers/DedicatedWorkerTest.cpp (right): https://codereview.chromium.org/2124693002/diff/680001/third_party/WebKit/Source/core/workers/DedicatedWorkerTest.cpp#newcode35 third_party/WebKit/Source/core/workers/DedicatedWorkerTest.cpp:35: }; On 2016/08/16 ...
4 years, 4 months ago (2016-08-17 04:45:33 UTC) #126
haraken
https://codereview.chromium.org/2124693002/diff/760001/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp File third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp (right): https://codereview.chromium.org/2124693002/diff/760001/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp#newcode85 third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp:85: if (m_currentIntervalInSec == kDefaultIntervalInSec) Does this branch really work? ...
4 years, 4 months ago (2016-08-17 06:30:48 UTC) #134
kinuko
https://codereview.chromium.org/2124693002/diff/680001/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp File third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp (right): https://codereview.chromium.org/2124693002/diff/680001/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp#newcode81 third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp:81: m_timer->startOneShot(m_currentIntervalInSec, BLINK_FROM_HERE); On 2016/08/17 04:45:32, nhiroki wrote: > On ...
4 years, 4 months ago (2016-08-17 22:15:08 UTC) #137
kinuko
https://codereview.chromium.org/2124693002/diff/760001/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp File third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp (right): https://codereview.chromium.org/2124693002/diff/760001/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp#newcode85 third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp:85: if (m_currentIntervalInSec == kDefaultIntervalInSec) m_currentIntervalInSec is actually a next ...
4 years, 4 months ago (2016-08-17 22:50:10 UTC) #138
nhiroki
Thank you for reviewing. Updated. https://codereview.chromium.org/2124693002/diff/680001/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp File third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp (right): https://codereview.chromium.org/2124693002/diff/680001/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp#newcode81 third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp:81: m_timer->startOneShot(m_currentIntervalInSec, BLINK_FROM_HERE); On 2016/08/17 ...
4 years, 4 months ago (2016-08-17 23:31:31 UTC) #141
haraken
LGTM on my side.
4 years, 4 months ago (2016-08-18 00:46:53 UTC) #142
kinuko
https://codereview.chromium.org/2124693002/diff/800001/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp File third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp (right): https://codereview.chromium.org/2124693002/diff/800001/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp#newcode82 third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp:82: if (m_timer->isActive()) We don't re-adjust the next interval either? ...
4 years, 4 months ago (2016-08-18 01:26:51 UTC) #143
kinuko
Let me note again that if restarting a timer should be discouraged it'd be better ...
4 years, 4 months ago (2016-08-18 01:31:34 UTC) #144
haraken
https://codereview.chromium.org/2124693002/diff/800001/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp File third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp (right): https://codereview.chromium.org/2124693002/diff/800001/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp#newcode82 third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp:82: if (m_timer->isActive()) On 2016/08/18 01:26:50, kinuko wrote: > We ...
4 years, 4 months ago (2016-08-18 01:31:44 UTC) #145
haraken
On 2016/08/18 01:31:34, kinuko wrote: > Let me note again that if restarting a timer ...
4 years, 4 months ago (2016-08-18 01:32:42 UTC) #146
kinuko
https://codereview.chromium.org/2124693002/diff/800001/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp File third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp (right): https://codereview.chromium.org/2124693002/diff/800001/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp#newcode82 third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.cpp:82: if (m_timer->isActive()) On 2016/08/18 01:31:44, haraken wrote: > On ...
4 years, 4 months ago (2016-08-18 01:34:31 UTC) #149
kinuko
On 2016/08/18 01:32:42, haraken wrote: > On 2016/08/18 01:31:34, kinuko wrote: > > Let me ...
4 years, 4 months ago (2016-08-18 01:35:05 UTC) #150
nhiroki
Thank you for the clarification! Updated the patch to reset the interval duration if isActive() ...
4 years, 4 months ago (2016-08-18 02:27:05 UTC) #153
haraken
LGTM
4 years, 4 months ago (2016-08-18 02:27:45 UTC) #154
Sami
(After alexclarke@ lands his cancellable timer patch, restarting timers should be considered fairly cheap. Of ...
4 years, 4 months ago (2016-08-18 15:09:13 UTC) #157
kinuko
lgtm On 2016/08/18 15:09:13, Sami wrote: > (After alexclarke@ lands his cancellable timer patch, restarting ...
4 years, 4 months ago (2016-08-18 15:52:18 UTC) #158
nhiroki
Thank you for carefully/patiently reviewing this :)
4 years, 4 months ago (2016-08-18 21:36:27 UTC) #159
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/2124693002/820001
4 years, 4 months ago (2016-08-18 21:39:37 UTC) #163
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/241224)
4 years, 4 months ago (2016-08-18 21:49:41 UTC) #165
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/2124693002/840001
4 years, 4 months ago (2016-08-18 21:58:31 UTC) #168
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/276469)
4 years, 4 months ago (2016-08-19 02:46:44 UTC) #170
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/2124693002/840001
4 years, 4 months ago (2016-08-19 03:12:49 UTC) #172
commit-bot: I haz the power
Committed patchset #18 (id:840001)
4 years, 4 months ago (2016-08-19 04:57:11 UTC) #174
commit-bot: I haz the power
4 years, 4 months ago (2016-08-19 04:59:22 UTC) #176
Message was sent while issue was closed.
Patchset 18 (id:??) landed as
https://crrev.com/9af6c91f5bc79d12247a5780071c44025e4c026d
Cr-Commit-Position: refs/heads/master@{#413052}

Powered by Google App Engine
This is Rietveld 408576698