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

Issue 2123783002: Expose RunsTasksOnCurrentThread through WebTaskRunner (Closed)

Created:
4 years, 5 months ago by tzik
Modified:
4 years, 5 months ago
CC:
chromium-reviews, blink-reviews-platform-graphics_chromium.org, dshwang, eae+blinkwatch, fs, kouhei+svg_chromium.org, rwlbuis, Yoav Weiss, krit, drott+blinkwatch_chromium.org, szager+layoutwatch_chromium.org, Justin Novosad, dglazkov+blink, Rik, gavinp+loader_chromium.org, jchaffraix+rendering, blink-reviews, gyuyoung2, pdr+svgwatchlist_chromium.org, ajuma+watch_chromium.org, blink-reviews-api_chromium.org, zoltan1, blink-reviews-layout_chromium.org, jbroman, pdr+graphicswatchlist_chromium.org, loading-reviews+fetch_chromium.org, Nate Chapin, danakj+watch_chromium.org, tyoshino+watch_chromium.org, pdr+renderingwatchlist_chromium.org, leviw+renderwatch, f(malita), Stephen Chennney, scheduler-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@00_fix_thread_affinity
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Expose RunsTasksOnCurrentThread through WebTaskRunner RunsTasksOnCurrentThread will be used by assertions in tasks that checks if it runs on the correct thread. WebTaskRunner itself will use it in the following CL. Blink code starts using per-frame WebTaskRunner rather than global WebThread-associated TaskRunner. RunTasksOnCurrentThread is a missing functionality to migrate from thread-based task scheduling to TaskRunner based scheduling. Committed: https://crrev.com/a1a9a32d4127e9e0b09e0abf0a3b7994bc7d7459 Cr-Commit-Position: refs/heads/master@{#406537}

Patch Set 1 #

Total comments: 4

Patch Set 2 : rebase #

Patch Set 3 : s/false/true/ on MockWebTaskRunners #

Patch Set 4 : update comment #

Patch Set 5 : rebase #

Messages

Total messages: 28 (13 generated)
tzik
PTAL
4 years, 5 months ago (2016-07-05 13:43:54 UTC) #4
Sami
Looks fine, but could you explain what this will be used for?
4 years, 5 months ago (2016-07-05 14:02:14 UTC) #5
kinuko
Could you explain a little more about how it's going to be used in the ...
4 years, 5 months ago (2016-07-05 14:09:20 UTC) #6
tzik
https://codereview.chromium.org/2123783002/diff/1/third_party/WebKit/Source/core/fetch/ResourceFetcherTest.cpp File third_party/WebKit/Source/core/fetch/ResourceFetcherTest.cpp (right): https://codereview.chromium.org/2123783002/diff/1/third_party/WebKit/Source/core/fetch/ResourceFetcherTest.cpp#newcode59 third_party/WebKit/Source/core/fetch/ResourceFetcherTest.cpp:59: bool runsTasksOnCurrentThread() override { return false; } On 2016/07/05 ...
4 years, 5 months ago (2016-07-05 15:22:40 UTC) #8
kinuko
One more question: we have WebThread->isCurrentThread(), but in your use case it's not sufficient-- is ...
4 years, 5 months ago (2016-07-07 01:38:02 UTC) #9
Sami
On 2016/07/07 01:38:02, kinuko wrote: > One more question: we have WebThread->isCurrentThread(), but in your ...
4 years, 5 months ago (2016-07-07 15:13:15 UTC) #10
tzik
No, it's not sufficient. Since Blink thread has multiple task runners for prioritization, it's useful ...
4 years, 5 months ago (2016-07-15 06:31:40 UTC) #11
kinuko
On 2016/07/15 06:31:40, tzik wrote: > No, it's not sufficient. > Since Blink thread has ...
4 years, 5 months ago (2016-07-15 06:43:12 UTC) #12
tzik
+alexclarke. Could you review //component/scheduler part?
4 years, 5 months ago (2016-07-19 13:23:26 UTC) #15
alex clarke (OOO till 29th)
scheduler/ LGTM
4 years, 5 months ago (2016-07-19 14:12:17 UTC) #16
commit-bot: I haz the power
This CL has an open dependency (Issue 2126563002 Patch 20001). Please resolve the dependency and ...
4 years, 5 months ago (2016-07-19 16:49:37 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2123783002/100001
4 years, 5 months ago (2016-07-20 07:10:03 UTC) #23
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 5 months ago (2016-07-20 13:03:52 UTC) #25
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-20 13:04:01 UTC) #26
commit-bot: I haz the power
4 years, 5 months ago (2016-07-20 13:05:45 UTC) #28
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/a1a9a32d4127e9e0b09e0abf0a3b7994bc7d7459
Cr-Commit-Position: refs/heads/master@{#406537}

Powered by Google App Engine
This is Rietveld 408576698