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

Issue 1212643004: [Oilpan] Apply RefCountedGarbageCollectedEventTarget on AbstractWorker (Closed)

Created:
5 years, 5 months ago by peria
Modified:
5 years, 4 months ago
CC:
blink-reviews, shans, vivekg_samsung, eae+blinkwatch, vivekg, apavlov+blink_chromium.org, kinuko+worker_chromium.org, rwlbuis, jsbell+serviceworker_chromium.org, caseq+blink_chromium.org, arv+blink, yhirano+watch_chromium.org, tzik, yurys+blink_chromium.org, blink-reviews-dom_chromium.org, dglazkov+blink, blink-reviews-bindings_chromium.org, gavinp+loader_chromium.org, devtools-reviews_chromium.org, Eric Willigers, rjwright, lushnikov+blink_chromium.org, nhiroki, darktears, Nate Chapin, michaeln, tyoshino+watch_chromium.org, blink-reviews-animation_chromium.org, serviceworker-reviews, falken, pfeldman+blink_chromium.org, kinuko+serviceworker, horo+watch_chromium.org, sergeyv+blink_chromium.org, kozyatinskiy+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Apply RefCountedGarbageCollectedEventTarget on AbstractWorker and its child classes. Leave WorkerGlobalScope and its inheritances as RefCounted, because its migration needs to move ExecutionContext, Document, and all Node hierarchies onto Oilpan heap. BUG=497595 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200532

Patch Set 1 : #

Total comments: 4

Patch Set 2 : Work for comments #

Total comments: 1

Patch Set 3 : Work for a nit #

Total comments: 3

Patch Set 4 : add ASSERT #

Total comments: 2

Patch Set 5 : Add comment #

Total comments: 4

Patch Set 6 : Work for a comment #

Patch Set 7 : Remove some redundant includes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -64 lines) Patch
M Source/core/timing/SharedWorkerPerformance.h View 1 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/timing/SharedWorkerPerformance.cpp View 1 2 chunks +2 lines, -3 lines 0 comments Download
M Source/core/workers/AbstractWorker.h View 1 2 3 4 5 6 2 chunks +2 lines, -4 lines 0 comments Download
M Source/core/workers/AbstractWorker.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/workers/AbstractWorker.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/workers/SharedWorker.h View 1 2 chunks +4 lines, -4 lines 0 comments Download
M Source/core/workers/SharedWorker.cpp View 1 3 chunks +4 lines, -6 lines 0 comments Download
M Source/core/workers/SharedWorker.idl View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/workers/SharedWorkerRepositoryClient.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/workers/Worker.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/workers/Worker.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/workers/Worker.idl View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/workers/WorkerMessagingProxy.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/workers/WorkerMessagingProxy.cpp View 1 2 3 4 1 chunk +5 lines, -1 line 0 comments Download
M Source/modules/serviceworkers/ServiceWorker.h View 1 2 3 4 5 6 3 chunks +3 lines, -5 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorker.cpp View 1 2 3 4 5 3 chunks +5 lines, -9 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorker.idl View 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerContainer.h View 1 2 3 4 5 6 3 chunks +2 lines, -4 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerContainer.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerMessageEvent.h View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerMessageEvent.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerRegistration.h View 2 chunks +6 lines, -6 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerScriptCachedMetadataHandler.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/web/ServiceWorkerGlobalScopeProxy.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/web/SharedWorkerRepositoryClientImpl.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/web/SharedWorkerRepositoryClientImpl.cpp View 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 53 (32 generated)
peria
PTL
5 years, 4 months ago (2015-08-13 04:18:33 UTC) #21
haraken
https://codereview.chromium.org/1212643004/diff/280031/Source/core/workers/SharedWorker.h File Source/core/workers/SharedWorker.h (right): https://codereview.chromium.org/1212643004/diff/280031/Source/core/workers/SharedWorker.h#newcode44 Source/core/workers/SharedWorker.h:44: class CORE_EXPORT SharedWorker final : public AbstractWorker, public WillBeHeapSupplementable<SharedWorker> ...
5 years, 4 months ago (2015-08-13 06:09:24 UTC) #23
peria
https://codereview.chromium.org/1212643004/diff/280031/Source/core/workers/SharedWorker.h File Source/core/workers/SharedWorker.h (right): https://codereview.chromium.org/1212643004/diff/280031/Source/core/workers/SharedWorker.h#newcode44 Source/core/workers/SharedWorker.h:44: class CORE_EXPORT SharedWorker final : public AbstractWorker, public WillBeHeapSupplementable<SharedWorker> ...
5 years, 4 months ago (2015-08-13 06:35:28 UTC) #25
haraken
LGTM https://codereview.chromium.org/1212643004/diff/400001/Source/modules/serviceworkers/ServiceWorker.cpp File Source/modules/serviceworkers/ServiceWorker.cpp (right): https://codereview.chromium.org/1212643004/diff/400001/Source/modules/serviceworkers/ServiceWorker.cpp#newcode110 Source/modules/serviceworkers/ServiceWorker.cpp:110: return serviceWorker; return getOrCreate(executionContext, worker);
5 years, 4 months ago (2015-08-13 07:58:49 UTC) #26
falken
typo: Oilapn
5 years, 4 months ago (2015-08-13 08:03:30 UTC) #28
falken
Ah sorry, that's just the subject. Sorry for noise.
5 years, 4 months ago (2015-08-13 08:03:59 UTC) #29
peria
On 2015/08/13 08:03:59, falken wrote: > Ah sorry, that's just the subject. Sorry for noise. ...
5 years, 4 months ago (2015-08-13 08:12:42 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1212643004/420001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1212643004/420001
5 years, 4 months ago (2015-08-13 08:18:55 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/98527)
5 years, 4 months ago (2015-08-13 09:21:42 UTC) #35
sof
https://codereview.chromium.org/1212643004/diff/420001/Source/core/workers/WorkerMessagingProxy.cpp File Source/core/workers/WorkerMessagingProxy.cpp (left): https://codereview.chromium.org/1212643004/diff/420001/Source/core/workers/WorkerMessagingProxy.cpp#oldcode205 Source/core/workers/WorkerMessagingProxy.cpp:205: m_workerObject = nullptr; Why is clearing this promptly redundant ...
5 years, 4 months ago (2015-08-13 20:44:01 UTC) #37
haraken
https://codereview.chromium.org/1212643004/diff/420001/Source/core/workers/WorkerMessagingProxy.cpp File Source/core/workers/WorkerMessagingProxy.cpp (left): https://codereview.chromium.org/1212643004/diff/420001/Source/core/workers/WorkerMessagingProxy.cpp#oldcode205 Source/core/workers/WorkerMessagingProxy.cpp:205: m_workerObject = nullptr; On 2015/08/13 20:44:01, sof wrote: > ...
5 years, 4 months ago (2015-08-13 23:53:03 UTC) #38
peria
PTAL https://codereview.chromium.org/1212643004/diff/420001/Source/core/workers/WorkerMessagingProxy.cpp File Source/core/workers/WorkerMessagingProxy.cpp (left): https://codereview.chromium.org/1212643004/diff/420001/Source/core/workers/WorkerMessagingProxy.cpp#oldcode205 Source/core/workers/WorkerMessagingProxy.cpp:205: m_workerObject = nullptr; On 2015/08/13 23:53:03, haraken wrote: ...
5 years, 4 months ago (2015-08-14 03:43:41 UTC) #39
haraken
On 2015/08/14 03:43:41, peria wrote: > PTAL > > https://codereview.chromium.org/1212643004/diff/420001/Source/core/workers/WorkerMessagingProxy.cpp > File Source/core/workers/WorkerMessagingProxy.cpp (left): > ...
5 years, 4 months ago (2015-08-14 03:44:28 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1212643004/440001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1212643004/440001
5 years, 4 months ago (2015-08-14 03:50:04 UTC) #42
sof
On 2015/08/13 23:53:03, haraken wrote: > https://codereview.chromium.org/1212643004/diff/420001/Source/core/workers/WorkerMessagingProxy.cpp > File Source/core/workers/WorkerMessagingProxy.cpp (left): > > https://codereview.chromium.org/1212643004/diff/420001/Source/core/workers/WorkerMessagingProxy.cpp#oldcode205 > ...
5 years, 4 months ago (2015-08-14 05:05:50 UTC) #43
sof
https://codereview.chromium.org/1212643004/diff/440001/Source/core/workers/WorkerMessagingProxy.cpp File Source/core/workers/WorkerMessagingProxy.cpp (right): https://codereview.chromium.org/1212643004/diff/440001/Source/core/workers/WorkerMessagingProxy.cpp#newcode205 Source/core/workers/WorkerMessagingProxy.cpp:205: ASSERT(!m_workerObject); Spelling it out why it must be so ...
5 years, 4 months ago (2015-08-14 05:06:57 UTC) #44
peria
https://codereview.chromium.org/1212643004/diff/440001/Source/core/workers/WorkerMessagingProxy.cpp File Source/core/workers/WorkerMessagingProxy.cpp (right): https://codereview.chromium.org/1212643004/diff/440001/Source/core/workers/WorkerMessagingProxy.cpp#newcode205 Source/core/workers/WorkerMessagingProxy.cpp:205: ASSERT(!m_workerObject); On 2015/08/14 05:06:57, sof wrote: > Spelling it ...
5 years, 4 months ago (2015-08-14 05:23:10 UTC) #47
sof
lgtm https://codereview.chromium.org/1212643004/diff/480001/Source/modules/serviceworkers/ServiceWorker.cpp File Source/modules/serviceworkers/ServiceWorker.cpp (right): https://codereview.chromium.org/1212643004/diff/480001/Source/modules/serviceworkers/ServiceWorker.cpp#newcode106 Source/modules/serviceworkers/ServiceWorker.cpp:106: if (!worker) nit: this null check is redundant. ...
5 years, 4 months ago (2015-08-14 06:17:56 UTC) #48
peria
https://codereview.chromium.org/1212643004/diff/480001/Source/modules/serviceworkers/ServiceWorker.cpp File Source/modules/serviceworkers/ServiceWorker.cpp (right): https://codereview.chromium.org/1212643004/diff/480001/Source/modules/serviceworkers/ServiceWorker.cpp#newcode106 Source/modules/serviceworkers/ServiceWorker.cpp:106: if (!worker) On 2015/08/14 06:17:55, sof wrote: > nit: ...
5 years, 4 months ago (2015-08-14 07:36:14 UTC) #49
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1212643004/520001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1212643004/520001
5 years, 4 months ago (2015-08-14 07:36:41 UTC) #52
commit-bot: I haz the power
5 years, 4 months ago (2015-08-14 09:55:19 UTC) #53
Message was sent while issue was closed.
Committed patchset #7 (id:520001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=200532

Powered by Google App Engine
This is Rietveld 408576698