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

Issue 177073004: Oilpan: move core/workers to oilpan's heap. (Closed)

Created:
6 years, 10 months ago by sof
Modified:
6 years, 9 months ago
Reviewers:
oilpan-reviews, haraken
CC:
blink-reviews, Nils Barth (inactive), kojih, arv+blink, jsbell+bindings_chromium.org, rwlbuis, eae+blinkwatch, gavinp+loader_chromium.org, abarth-chromium, marja+watch_chromium.org, dglazkov+blink, adamk+blink_chromium.org, kinuko+watch, Nate Chapin, watchdog-blink-watchlist_google.com, Inactive
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Oilpan: move core/workers to oilpan's heap. This moves most of the web worker related objects to Oilpan using transition types, including MessagePort and MessageChannel. R= BUG=340522

Patch Set 1 #

Total comments: 30
Unified diffs Side-by-side diffs Delta from patch set Stats (+264 lines, -122 lines) Patch
M Source/bindings/tests/results/V8TestObject.cpp View 1 chunk +1 line, -1 line 1 comment Download
M Source/bindings/v8/WorkerScriptController.cpp View 1 chunk +1 line, -1 line 1 comment Download
M Source/bindings/v8/custom/V8MessageChannelCustom.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/core.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/dom/MessageChannel.h View 2 chunks +11 lines, -4 lines 0 comments Download
M Source/core/dom/MessageChannel.cpp View 2 chunks +8 lines, -0 lines 0 comments Download
M Source/core/dom/MessageChannel.idl View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/dom/MessagePort.h View 3 chunks +7 lines, -3 lines 3 comments Download
M Source/core/dom/MessagePort.cpp View 1 chunk +4 lines, -2 lines 0 comments Download
M Source/core/dom/MessagePort.idl View 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/loader/WorkerThreadableLoader.h View 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/workers/AbstractWorker.h View 3 chunks +6 lines, -2 lines 2 comments Download
M Source/core/workers/AbstractWorker.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/workers/AbstractWorker.idl View 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/workers/DedicatedWorkerGlobalScope.h View 1 chunk +3 lines, -2 lines 2 comments Download
M Source/core/workers/DedicatedWorkerGlobalScope.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/workers/DedicatedWorkerGlobalScope.idl View 1 chunk +1 line, -0 lines 2 comments Download
M Source/core/workers/DedicatedWorkerThread.h View 1 chunk +5 lines, -4 lines 1 comment Download
M Source/core/workers/DedicatedWorkerThread.cpp View 2 chunks +4 lines, -4 lines 0 comments Download
M Source/core/workers/SharedWorker.h View 2 chunks +4 lines, -2 lines 0 comments Download
M Source/core/workers/SharedWorker.cpp View 2 chunks +8 lines, -3 lines 0 comments Download
M Source/core/workers/SharedWorker.idl View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/workers/SharedWorkerGlobalScope.h View 3 chunks +3 lines, -2 lines 0 comments Download
M Source/core/workers/SharedWorkerGlobalScope.cpp View 1 chunk +4 lines, -4 lines 0 comments Download
M Source/core/workers/SharedWorkerGlobalScope.idl View 1 chunk +2 lines, -1 line 2 comments Download
M Source/core/workers/SharedWorkerThread.h View 1 chunk +4 lines, -4 lines 1 comment Download
M Source/core/workers/SharedWorkerThread.cpp View 2 chunks +4 lines, -4 lines 0 comments Download
M Source/core/workers/Worker.h View 3 chunks +4 lines, -2 lines 2 comments Download
M Source/core/workers/Worker.cpp View 4 chunks +13 lines, -3 lines 2 comments Download
M Source/core/workers/Worker.idl View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/workers/WorkerConsole.h View 2 chunks +11 lines, -4 lines 4 comments Download
M Source/core/workers/WorkerConsole.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/workers/WorkerConsole.idl View 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/workers/WorkerGlobalScope.h View 3 chunks +8 lines, -5 lines 5 comments Download
M Source/core/workers/WorkerGlobalScope.cpp View 3 chunks +10 lines, -1 line 0 comments Download
M Source/core/workers/WorkerGlobalScope.idl View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/workers/WorkerLocation.h View 3 chunks +7 lines, -3 lines 0 comments Download
A + Source/core/workers/WorkerLocation.cpp View 2 chunks +4 lines, -5 lines 0 comments Download
M Source/core/workers/WorkerLocation.idl View 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/workers/WorkerMessagingProxy.h View 3 chunks +3 lines, -2 lines 0 comments Download
M Source/core/workers/WorkerMessagingProxy.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/workers/WorkerNavigator.h View 2 chunks +9 lines, -2 lines 0 comments Download
M Source/core/workers/WorkerNavigator.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/workers/WorkerNavigator.idl View 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/workers/WorkerScriptLoader.h View 3 chunks +9 lines, -5 lines 0 comments Download
M Source/core/workers/WorkerScriptLoader.cpp View 2 chunks +3 lines, -1 line 0 comments Download
M Source/core/workers/WorkerThread.h View 4 chunks +10 lines, -6 lines 1 comment Download
M Source/core/workers/WorkerThread.cpp View 4 chunks +11 lines, -1 line 0 comments Download
M Source/core/workers/WorkerThreadStartupData.h View 2 chunks +9 lines, -4 lines 1 comment Download
M Source/core/workers/WorkerThreadStartupData.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/heap/ThreadState.h View 2 chunks +15 lines, -0 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerGlobalScope.h View 2 chunks +2 lines, -1 line 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerThread.h View 2 chunks +4 lines, -3 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerThread.cpp View 2 chunks +4 lines, -4 lines 0 comments Download
M Source/modules/websockets/WorkerThreadableWebSocketChannel.h View 5 chunks +5 lines, -4 lines 0 comments Download
M Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/web/WebEmbeddedWorkerImpl.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/web/WebEmbeddedWorkerImpl.cpp View 3 chunks +3 lines, -2 lines 0 comments Download
M Source/web/WebSharedWorkerImpl.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/web/WebSharedWorkerImpl.cpp View 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
sof
When you get a chance, please take a look. Note: - serviceworker/ and websockets/ code ...
6 years, 10 months ago (2014-02-24 12:22:23 UTC) #1
sof
https://codereview.chromium.org/177073004/diff/1/Source/core/workers/Worker.cpp File Source/core/workers/Worker.cpp (right): https://codereview.chromium.org/177073004/diff/1/Source/core/workers/Worker.cpp#newcode106 Source/core/workers/Worker.cpp:106: // NOTE: oilpan: if the Worker fails to fully ...
6 years, 10 months ago (2014-02-24 12:53:29 UTC) #2
Mads Ager (chromium)
https://codereview.chromium.org/177073004/diff/1/Source/bindings/v8/WorkerScriptController.cpp File Source/bindings/v8/WorkerScriptController.cpp (right): https://codereview.chromium.org/177073004/diff/1/Source/bindings/v8/WorkerScriptController.cpp#newcode164 Source/bindings/v8/WorkerScriptController.cpp:164: V8DOMWrapper::associateObjectWithWrapper<V8WorkerGlobalScope>(PassRefPtrWillBeRawPtr<WorkerGlobalScope>(&m_workerGlobalScope), contextType, jsWorkerGlobalScope, isolate(), WrapperConfiguration::Dependent); It seems like a ...
6 years, 10 months ago (2014-02-24 13:27:53 UTC) #3
haraken
not LGTM. I reviewed half of the CL but the CL is too big to ...
6 years, 10 months ago (2014-02-24 13:28:36 UTC) #4
sof
On 2014/02/24 13:28:36, haraken wrote: > not LGTM. > > I reviewed half of the ...
6 years, 10 months ago (2014-02-24 13:36:26 UTC) #5
haraken
On 2014/02/24 13:36:26, sof wrote: > On 2014/02/24 13:28:36, haraken wrote: > > not LGTM. ...
6 years, 10 months ago (2014-02-24 13:59:47 UTC) #6
Mads Ager (chromium)
On 2014/02/24 13:59:47, haraken wrote: > On 2014/02/24 13:36:26, sof wrote: > > On 2014/02/24 ...
6 years, 10 months ago (2014-02-24 14:03:36 UTC) #7
sof
On 2014/02/24 14:03:36, Mads Ager (chromium) wrote: > On 2014/02/24 13:59:47, haraken wrote: > > ...
6 years, 10 months ago (2014-02-24 14:10:20 UTC) #8
haraken
> Thanks for the (meta) feedback, agree with it all. > > Separating out the ...
6 years, 10 months ago (2014-02-24 14:14:16 UTC) #9
sof
See https://codereview.chromium.org/178663004/ for the updated version addressing the feedback below. https://codereview.chromium.org/177073004/diff/1/Source/core/workers/DedicatedWorkerGlobalScope.h File Source/core/workers/DedicatedWorkerGlobalScope.h (right): https://codereview.chromium.org/177073004/diff/1/Source/core/workers/DedicatedWorkerGlobalScope.h#newcode44 ...
6 years, 10 months ago (2014-02-24 22:44:26 UTC) #10
sof
6 years, 9 months ago (2014-03-12 07:39:47 UTC) #11
Before closing this CL, it was split up as:

 * WorkerGlobalScope + Worker{Navigator,Console,Location} supplements:
      https://codereview.chromium.org/178663004/
 * Worker objects:
      https://codereview.chromium.org/180743028/
 * WorkerThreadStartupData:
      https://codereview.chromium.org/191003010/

MessagePort+Channel have not been tackled separately yet; WorkerScriptLoader
could be moved, but no pressing need.

Powered by Google App Engine
This is Rietveld 408576698