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

Issue 469683002: Implement WebThreadSupportingGC, which wraps a WebThread attached to Oilpan's GC (Closed)

Created:
6 years, 4 months ago by haraken
Modified:
6 years, 3 months ago
CC:
blink-reviews, blink-reviews-html_chromium.org, dglazkov+blink, falken, horo+watch_chromium.org, kinuko+worker_chromium.org
Project:
blink
Visibility:
Public.

Description

Implement WebThreadSupportingGC, which wraps a WebThread attached to Oilpan's GC In order to attach/detach a WebThread to/from Oilpan's GC, we need a bunch of setups about PendingGCRunner, MessageLoopInterruptor etc. To avoid duplicating the setup code in all WebThread customers, this CL adds a thin wrapper class (WebThreadSupportingGC) for a WebThread attached to Oilpan's GC. BUG=340522 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=182385

Patch Set 1 #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : #

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+147 lines, -61 lines) Patch
M Source/core/html/parser/HTMLParserThread.h View 1 2 2 chunks +2 lines, -6 lines 0 comments Download
M Source/core/html/parser/HTMLParserThread.cpp View 1 2 3 chunks +5 lines, -12 lines 0 comments Download
M Source/core/workers/WorkerThread.h View 1 2 3 4 5 3 chunks +2 lines, -6 lines 0 comments Download
M Source/core/workers/WorkerThread.cpp View 1 2 3 4 5 6 4 chunks +4 lines, -21 lines 0 comments Download
M Source/modules/webdatabase/DatabaseThread.h View 1 2 3 chunks +2 lines, -4 lines 0 comments Download
M Source/modules/webdatabase/DatabaseThread.cpp View 1 2 3 4 5 2 chunks +3 lines, -12 lines 0 comments Download
A Source/platform/WebThreadSupportingGC.h View 1 2 3 4 5 6 7 1 chunk +89 lines, -0 lines 0 comments Download
A Source/platform/WebThreadSupportingGC.cpp View 1 2 1 chunk +38 lines, -0 lines 0 comments Download
M Source/platform/blink_platform.gypi View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (7 generated)
haraken
PTAL. (At the moment, I introduced WebThreadRunner as a proxy class for a WebThread. I'm ...
6 years, 4 months ago (2014-08-13 04:04:02 UTC) #1
Mads Ager (chromium)
LGTM Since the WebThreads are supplied by the embedder and we therefore cannot use inheritance; ...
6 years, 4 months ago (2014-08-13 07:26:20 UTC) #2
haraken
jochen@ or tkent-san@: would you take another look? https://codereview.chromium.org/469683002/diff/20001/Source/core/html/parser/HTMLParserThread.h File Source/core/html/parser/HTMLParserThread.h (right): https://codereview.chromium.org/469683002/diff/20001/Source/core/html/parser/HTMLParserThread.h#newcode35 Source/core/html/parser/HTMLParserThread.h:35: #include ...
6 years, 4 months ago (2014-08-13 08:03:09 UTC) #3
jochen (gone - plz use gerrit)
https://codereview.chromium.org/469683002/diff/60001/Source/platform/WebThreadSupportingGC.h File Source/platform/WebThreadSupportingGC.h (right): https://codereview.chromium.org/469683002/diff/60001/Source/platform/WebThreadSupportingGC.h#newcode31 Source/platform/WebThreadSupportingGC.h:31: m_thread->postTask(task); this is not safe. on a worker thread, ...
6 years, 4 months ago (2014-08-13 12:35:42 UTC) #4
Mads Ager (chromium)
https://codereview.chromium.org/469683002/diff/60001/Source/platform/WebThreadSupportingGC.h File Source/platform/WebThreadSupportingGC.h (right): https://codereview.chromium.org/469683002/diff/60001/Source/platform/WebThreadSupportingGC.h#newcode31 Source/platform/WebThreadSupportingGC.h:31: m_thread->postTask(task); On 2014/08/13 12:35:42, jochen (slow - soon OOO) ...
6 years, 4 months ago (2014-08-13 12:40:37 UTC) #5
haraken
On 2014/08/13 12:35:42, jochen (slow - soon OOO) wrote: > https://codereview.chromium.org/469683002/diff/60001/Source/platform/WebThreadSupportingGC.h > File Source/platform/WebThreadSupportingGC.h (right): ...
6 years, 4 months ago (2014-08-13 12:44:17 UTC) #6
jochen (gone - plz use gerrit)
On 2014/08/13 at 12:44:17, haraken wrote: > On 2014/08/13 12:35:42, jochen (slow - soon OOO) ...
6 years, 4 months ago (2014-08-13 13:07:16 UTC) #7
haraken
The CQ bit was checked by haraken@chromium.org
6 years, 4 months ago (2014-08-13 13:07:42 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/469683002/60001
6 years, 4 months ago (2014-08-13 13:09:17 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_blink_compile_dbg on tryserver.blink ...
6 years, 4 months ago (2014-08-13 13:20:07 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-13 13:22:45 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_compile_dbg on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/mac_blink_compile_dbg/builds/16121) mac_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/19647) mac_gpu ...
6 years, 4 months ago (2014-08-13 13:22:47 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/469683002/100001
6 years, 3 months ago (2014-09-12 07:58:54 UTC) #14
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/55142)
6 years, 3 months ago (2014-09-12 08:08:27 UTC) #16
haraken
Landing this CL. Sorry for soooo late on this.
6 years, 3 months ago (2014-09-22 02:33:20 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/469683002/120001
6 years, 3 months ago (2014-09-22 02:33:50 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_compile_dbg on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/mac_blink_compile_dbg/builds/20088)
6 years, 3 months ago (2014-09-22 02:46:57 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/469683002/120001
6 years, 3 months ago (2014-09-22 03:17:17 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_compile_dbg on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/mac_blink_compile_dbg/builds/20092)
6 years, 3 months ago (2014-09-22 03:28:01 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/469683002/140001
6 years, 3 months ago (2014-09-22 03:33:31 UTC) #27
commit-bot: I haz the power
6 years, 3 months ago (2014-09-22 04:37:42 UTC) #28
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as 182385

Powered by Google App Engine
This is Rietveld 408576698