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

Issue 304353004: Oilpan: Reduce RefPtr to WorkerGlobalScope. (Closed)

Created:
6 years, 6 months ago by tkent
Modified:
6 years, 6 months ago
Reviewers:
oilpan-reviews, haraken
CC:
blink-reviews, arv+blink, sof, eae+blinkwatch, falken, blink-reviews-dom_chromium.org, dglazkov+blink, Inactive, kinuko+worker_chromium.org, horo+watch_chromium.org, watchdog-blink-watchlist_google.com, rwlbuis
Visibility:
Public.

Description

Oilpan: Reduce RefPtr to WorkerGlobalScope. This CL reduces the number of required Heap::collectGarbage calls in Heap::collectAllGarbage on Worker termination. - Make Event::m_target Member<>. - Make MessageEvent::m_source Member<>. MessageEvent is used to communicate between the main thread and workers. For consistency, this CL adjusts MessagePort argument/return types. They reduce RefPtr to WorkerGlobalScope, which implements EventTarget. BUG=375671 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175201

Patch Set 1 #

Total comments: 1

Patch Set 2 : Remove deleteLifecycleNotifier #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -22 lines) Patch
M Source/core/dom/MessagePort.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/MessagePort.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/MessagePort.idl View 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/events/Event.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/events/Event.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/events/MessageEvent.h View 1 3 chunks +10 lines, -10 lines 0 comments Download
M Source/core/events/MessageEvent.cpp View 4 chunks +4 lines, -3 lines 0 comments Download
M Source/core/workers/SharedWorkerGlobalScope.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/workers/SharedWorkerGlobalScope.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M Source/web/WebSharedWorkerImpl.cpp View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
tkent
Please review this.
6 years, 6 months ago (2014-05-30 08:52:17 UTC) #1
haraken
> * Introduce ExecutionContext::deleteLifecycleNotifier(), and WorkerGlobalScope::dispose() calls it. > Before this change, LifecycleObserver::contextDestroyed was called ...
6 years, 6 months ago (2014-05-30 12:30:46 UTC) #2
tkent
On 2014/05/30 12:30:46, haraken wrote: > > * Introduce ExecutionContext::deleteLifecycleNotifier(), and > WorkerGlobalScope::dispose() calls it. ...
6 years, 6 months ago (2014-05-30 14:11:53 UTC) #3
haraken
On 2014/05/30 14:11:53, tkent wrote: > On 2014/05/30 12:30:46, haraken wrote: > > > * ...
6 years, 6 months ago (2014-05-30 15:36:42 UTC) #4
tkent
The CQ bit was checked by tkent@chromium.org
6 years, 6 months ago (2014-05-31 15:39:18 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tkent@chromium.org/304353004/60001
6 years, 6 months ago (2014-05-31 15:39:32 UTC) #6
commit-bot: I haz the power
6 years, 6 months ago (2014-05-31 20:21:26 UTC) #7
Message was sent while issue was closed.
Change committed as 175201

Powered by Google App Engine
This is Rietveld 408576698