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

Issue 267323004: Oilpan: Move ThreadableWebSocketChannelClientWrapper to Oilpan's heap (Closed)

Created:
6 years, 7 months ago by haraken
Modified:
6 years, 6 months ago
CC:
blink-reviews, tasak
Visibility:
Public.

Description

Oilpan: Move ThreadableWebSocketChannelClientWrapper to Oilpan's heap This is a preparation for moving WebSocketChannelClient to the heap. This CL adds a template specialization to CrossThreadCopier.h so that ThreadableWebSocketChannelClientWrapper* can be passed to createCallbackTask(). BUG=340522 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=174956 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175782

Patch Set 1 #

Total comments: 14

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 2

Patch Set 6 : #

Total comments: 1

Patch Set 7 : #

Total comments: 1

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Total comments: 2

Patch Set 11 : #

Patch Set 12 : #

Total comments: 1

Patch Set 13 : #

Total comments: 5

Patch Set 14 : #

Patch Set 15 : #

Patch Set 16 : #

Patch Set 17 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -82 lines) Patch
M Source/core/dom/CrossThreadTask.h View 1 2 3 4 5 6 7 8 9 10 8 chunks +14 lines, -8 lines 0 comments Download
M Source/modules/websockets/ThreadableWebSocketChannelClientWrapper.h View 1 2 3 4 5 6 7 2 chunks +12 lines, -9 lines 0 comments Download
M Source/modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp View 1 2 3 4 5 6 7 2 chunks +13 lines, -9 lines 0 comments Download
M Source/modules/websockets/WorkerThreadableWebSocketChannel.h View 1 2 3 4 5 6 7 8 9 10 7 chunks +10 lines, -8 lines 0 comments Download
M Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 12 chunks +29 lines, -23 lines 0 comments Download
M Source/platform/CrossThreadCopier.h View 1 2 3 4 5 6 7 8 9 10 11 12 6 chunks +30 lines, -19 lines 0 comments Download
M Source/platform/CrossThreadCopier.cpp View 1 2 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 55 (0 generated)
haraken
PTAL with some questions. https://codereview.chromium.org/267323004/diff/1/Source/modules/websockets/ThreadableWebSocketChannelClientWrapper.h File Source/modules/websockets/ThreadableWebSocketChannelClientWrapper.h (right): https://codereview.chromium.org/267323004/diff/1/Source/modules/websockets/ThreadableWebSocketChannelClientWrapper.h#newcode86 Source/modules/websockets/ThreadableWebSocketChannelClientWrapper.h:86: WebSocketChannelClient* m_client; This raw pointer ...
6 years, 7 months ago (2014-05-07 07:45:16 UTC) #1
tkent
https://codereview.chromium.org/267323004/diff/1/Source/platform/CrossThreadCopier.h File Source/platform/CrossThreadCopier.h (right): https://codereview.chromium.org/267323004/diff/1/Source/platform/CrossThreadCopier.h#newcode109 Source/platform/CrossThreadCopier.h:109: template<> struct CrossThreadCopierBase<false, false, ThreadableWebSocketChannelClientWrapper*> { On 2014/05/07 07:45:16, ...
6 years, 7 months ago (2014-05-07 08:10:41 UTC) #2
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/267323004/diff/1/Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp File Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp (right): https://codereview.chromium.org/267323004/diff/1/Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp#newcode391 Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp:391: m_loaderProxy.postTaskToWorkerGlobalScope(createCallbackTask(&workerGlobalScopeDidConnect, m_workerClientWrapper.get(), m_mainWebSocketChannel->subprotocol(), m_mainWebSocketChannel->extensions())); On 2014/05/07 07:45:16, haraken wrote: ...
6 years, 7 months ago (2014-05-07 08:32:52 UTC) #3
zerny-chromium
Except for the CrossThreadCopier specialization issue, lgtm. https://codereview.chromium.org/267323004/diff/1/Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp File Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp (right): https://codereview.chromium.org/267323004/diff/1/Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp#newcode391 Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp:391: m_loaderProxy.postTaskToWorkerGlobalScope(createCallbackTask(&workerGlobalScopeDidConnect, m_workerClientWrapper.get(), ...
6 years, 7 months ago (2014-05-07 09:50:00 UTC) #4
haraken
Thanks for review! PTAL. https://codereview.chromium.org/267323004/diff/1/Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp File Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp (right): https://codereview.chromium.org/267323004/diff/1/Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp#newcode391 Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp:391: m_loaderProxy.postTaskToWorkerGlobalScope(createCallbackTask(&workerGlobalScopeDidConnect, m_workerClientWrapper.get(), m_mainWebSocketChannel->subprotocol(), m_mainWebSocketChannel->extensions())); On ...
6 years, 7 months ago (2014-05-07 11:18:33 UTC) #5
zerny-chromium
https://codereview.chromium.org/267323004/diff/20001/Source/platform/CrossThreadCopier.h File Source/platform/CrossThreadCopier.h (right): https://codereview.chromium.org/267323004/diff/20001/Source/platform/CrossThreadCopier.h#newcode145 Source/platform/CrossThreadCopier.h:145: WTF::IsSubclassOfTemplate<typename WTF::RemovePointer<T>::Type, GarbageCollected>::value, On 2014/05/07 11:18:33, haraken wrote: > ...
6 years, 7 months ago (2014-05-07 11:56:38 UTC) #6
haraken
On 2014/05/07 11:56:38, zerny-chromium wrote: > https://codereview.chromium.org/267323004/diff/20001/Source/platform/CrossThreadCopier.h > File Source/platform/CrossThreadCopier.h (right): > > https://codereview.chromium.org/267323004/diff/20001/Source/platform/CrossThreadCopier.h#newcode145 > ...
6 years, 7 months ago (2014-05-08 03:18:40 UTC) #7
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/267323004/diff/1/Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp File Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp (right): https://codereview.chromium.org/267323004/diff/1/Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp#newcode391 Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp:391: m_loaderProxy.postTaskToWorkerGlobalScope(createCallbackTask(&workerGlobalScopeDidConnect, m_workerClientWrapper.get(), m_mainWebSocketChannel->subprotocol(), m_mainWebSocketChannel->extensions())); On 2014/05/07 11:18:33, haraken wrote: ...
6 years, 7 months ago (2014-05-08 06:29:55 UTC) #8
tyoshino (SeeGerritForStatus)
On 2014/05/08 03:18:40, haraken wrote: > BTW, yoshino-san has a clean-up CL around this area, ...
6 years, 7 months ago (2014-05-08 07:18:29 UTC) #9
haraken
hmm, I'm working with tasak@ but we cannot yet come up with templates that makes ...
6 years, 7 months ago (2014-05-08 09:09:02 UTC) #10
zerny-chromium
On 2014/05/08 09:09:02, haraken wrote: > hmm, I'm working with tasak@ but we cannot yet ...
6 years, 7 months ago (2014-05-08 13:35:03 UTC) #11
haraken
Thanks Ian! > I'm not sure why we can not .get() the argument and avoid ...
6 years, 7 months ago (2014-05-08 14:36:53 UTC) #12
haraken
zerny@: Sorry for bothering you repeatedly. Let me ask one more question about the template. ...
6 years, 7 months ago (2014-05-09 08:08:22 UTC) #13
haraken
Fixed the template issue. PTAL.
6 years, 7 months ago (2014-05-12 16:25:41 UTC) #14
tkent
lgtm
6 years, 7 months ago (2014-05-13 06:35:15 UTC) #15
tyoshino (SeeGerritForStatus)
lgtm
6 years, 7 months ago (2014-05-13 09:44:10 UTC) #16
haraken
Unfortunately this CL hits the empty ASSERT error at the end of the worker thread ...
6 years, 7 months ago (2014-05-26 09:34:38 UTC) #17
Mads Ager (chromium)
On 2014/05/26 09:34:38, haraken wrote: > Unfortunately this CL hits the empty ASSERT error at ...
6 years, 7 months ago (2014-05-26 10:43:54 UTC) #18
haraken
On 2014/05/26 10:43:54, Mads Ager (chromium) wrote: > On 2014/05/26 09:34:38, haraken wrote: > > ...
6 years, 7 months ago (2014-05-27 04:53:09 UTC) #19
Mads Ager (chromium)
On Tue, May 27, 2014 at 6:53 AM, <haraken@chromium.org> wrote: > On 2014/05/26 10:43:54, Mads ...
6 years, 7 months ago (2014-05-27 08:17:26 UTC) #20
haraken
PTAL. The patch set 10 passes the empty ASSERT check. https://codereview.chromium.org/267323004/diff/120001/Source/core/dom/CrossThreadTask.h File Source/core/dom/CrossThreadTask.h (right): https://codereview.chromium.org/267323004/diff/120001/Source/core/dom/CrossThreadTask.h#newcode61 ...
6 years, 7 months ago (2014-05-27 09:21:36 UTC) #21
Mads Ager (chromium)
On 2014/05/27 09:21:36, haraken wrote: > PTAL. The patch set 10 passes the empty ASSERT ...
6 years, 7 months ago (2014-05-27 10:40:55 UTC) #22
haraken
On 2014/05/27 10:40:55, Mads Ager (chromium) wrote: > On 2014/05/27 09:21:36, haraken wrote: > > ...
6 years, 7 months ago (2014-05-27 11:27:19 UTC) #23
tkent
temporal raw pointers lgtm.
6 years, 7 months ago (2014-05-27 12:21:49 UTC) #24
haraken
The CQ bit was checked by haraken@chromium.org
6 years, 7 months ago (2014-05-27 12:26:08 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/267323004/180001
6 years, 7 months ago (2014-05-27 12:26:17 UTC) #26
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-27 14:20:58 UTC) #27
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-27 14:49:40 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/9384)
6 years, 7 months ago (2014-05-27 14:49:40 UTC) #29
haraken
https://codereview.chromium.org/267323004/diff/180001/Source/core/dom/CrossThreadTask.h File Source/core/dom/CrossThreadTask.h (right): https://codereview.chromium.org/267323004/diff/180001/Source/core/dom/CrossThreadTask.h#newcode63 Source/core/dom/CrossThreadTask.h:63: typedef RawPtr<T> ParamType; In order to make the plugin ...
6 years, 7 months ago (2014-05-27 15:01:44 UTC) #30
zerny-chromium
https://codereview.chromium.org/267323004/diff/180001/Source/core/dom/CrossThreadTask.h File Source/core/dom/CrossThreadTask.h (right): https://codereview.chromium.org/267323004/diff/180001/Source/core/dom/CrossThreadTask.h#newcode63 Source/core/dom/CrossThreadTask.h:63: typedef RawPtr<T> ParamType; On 2014/05/27 15:01:44, haraken wrote: > ...
6 years, 6 months ago (2014-05-28 06:03:19 UTC) #31
haraken
On 2014/05/28 06:03:19, zerny-chromium wrote: > https://codereview.chromium.org/267323004/diff/180001/Source/core/dom/CrossThreadTask.h > File Source/core/dom/CrossThreadTask.h (right): > > https://codereview.chromium.org/267323004/diff/180001/Source/core/dom/CrossThreadTask.h#newcode63 > ...
6 years, 6 months ago (2014-05-28 07:33:57 UTC) #32
haraken
The CQ bit was checked by haraken@chromium.org
6 years, 6 months ago (2014-05-28 07:34:36 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/267323004/200001
6 years, 6 months ago (2014-05-28 07:34:43 UTC) #34
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: mac_blink_compile_dbg on tryserver.blink ...
6 years, 6 months ago (2014-05-28 09:02:36 UTC) #35
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-05-28 09:27:39 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/9871)
6 years, 6 months ago (2014-05-28 09:27:40 UTC) #37
haraken
The CQ bit was checked by haraken@chromium.org
6 years, 6 months ago (2014-05-28 09:31:41 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/267323004/220001
6 years, 6 months ago (2014-05-28 09:31:49 UTC) #39
commit-bot: I haz the power
Change committed as 174956
6 years, 6 months ago (2014-05-28 10:51:15 UTC) #40
haraken
Reverted this CL because it broke worker-reload-repeated.html. In short, I need to move the ExecutionContextTask ...
6 years, 6 months ago (2014-06-02 01:39:43 UTC) #41
haraken
I found that we need a mechanism to allocate a GCed object that can outlive ...
6 years, 6 months ago (2014-06-06 00:52:50 UTC) #42
haraken
tyoshino@, yhirano@: I'm sorry for doing back & forth changes to WebSocket. I reworked on ...
6 years, 6 months ago (2014-06-09 02:11:20 UTC) #43
yhirano
https://codereview.chromium.org/267323004/diff/240001/Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp File Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp (right): https://codereview.chromium.org/267323004/diff/240001/Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp#newcode626 Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp:626: return false; On 2014/06/09 02:11:20, haraken wrote: > > ...
6 years, 6 months ago (2014-06-09 02:47:38 UTC) #44
haraken
https://codereview.chromium.org/267323004/diff/240001/Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp File Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp (right): https://codereview.chromium.org/267323004/diff/240001/Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp#newcode626 Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp:626: return false; On 2014/06/09 02:47:38, yhirano wrote: > On ...
6 years, 6 months ago (2014-06-09 03:28:51 UTC) #45
tyoshino (SeeGerritForStatus)
https://codereview.chromium.org/267323004/diff/240001/Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp File Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp (right): https://codereview.chromium.org/267323004/diff/240001/Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp#newcode626 Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp:626: return false; On 2014/06/09 03:28:51, haraken wrote: > On ...
6 years, 6 months ago (2014-06-09 04:33:39 UTC) #46
yhirano
https://codereview.chromium.org/267323004/diff/240001/Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp File Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp (right): https://codereview.chromium.org/267323004/diff/240001/Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp#newcode626 Source/modules/websockets/WorkerThreadableWebSocketChannel.cpp:626: return false; On 2014/06/09 03:28:51, haraken wrote: > On ...
6 years, 6 months ago (2014-06-09 04:39:11 UTC) #47
haraken
Thanks for reviews! yoshino-san: > Can we ASSERT here that the event signaled is not ...
6 years, 6 months ago (2014-06-09 05:32:40 UTC) #48
haraken
On 2014/06/09 05:32:40, haraken wrote: > Thanks for reviews! > > yoshino-san: > > Can ...
6 years, 6 months ago (2014-06-09 05:41:26 UTC) #49
yhirano
lgtm
6 years, 6 months ago (2014-06-09 05:44:10 UTC) #50
tyoshino (SeeGerritForStatus)
wow, what a simple solution :) lgtm
6 years, 6 months ago (2014-06-09 07:51:52 UTC) #51
haraken
Thanks for reviews! Landing.
6 years, 6 months ago (2014-06-09 07:53:39 UTC) #52
haraken
The CQ bit was checked by haraken@chromium.org
6 years, 6 months ago (2014-06-09 07:53:43 UTC) #53
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/267323004/320001
6 years, 6 months ago (2014-06-09 07:54:19 UTC) #54
commit-bot: I haz the power
6 years, 6 months ago (2014-06-09 08:58:27 UTC) #55
Message was sent while issue was closed.
Change committed as 175782

Powered by Google App Engine
This is Rietveld 408576698