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

Issue 2589363003: Use timer task runner for V8PerIsolate tasks (Closed)

Created:
4 years ago by altimin
Modified:
3 years, 11 months ago
CC:
Aaron Boodman, abarth-chromium, blink-reviews, blink-reviews-bindings_chromium.org, blink-worker-reviews_chromium.org, cbentzel+watch_chromium.org, chromium-apps-reviews_chromium.org, chromium-reviews, darin (slow to review), extensions-reviews_chromium.org, falken+watch_chromium.org, horo+watch_chromium.org, kinuko+worker_chromium.org, qsr+mojo_chromium.org, shimazu+worker_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use timer task runner for V8PerIsolate tasks Per the effort of getting rid of default task queue in scheduler, post per-isolate tasks to renderer-wide timer task queue. BUG=676805 Committed: https://crrev.com/124814c8025c564a6f494a3c9d4c887d57b98f1e Cr-Commit-Position: refs/heads/master@{#441114}

Patch Set 1 #

Patch Set 2 : Use timer task runner for V8PerIsolate tasks #

Patch Set 3 : Fix compilation #

Patch Set 4 : More includes #

Patch Set 5 : One more fix #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -31 lines) Patch
M extensions/renderer/api_binding_test.cc View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M gin/isolate_holder.cc View 2 chunks +8 lines, -4 lines 0 comments Download
M gin/per_isolate_data.h View 1 chunk +2 lines, -1 line 0 comments Download
M gin/per_isolate_data.cc View 1 chunk +6 lines, -4 lines 0 comments Download
M gin/public/isolate_holder.h View 2 chunks +9 lines, -2 lines 0 comments Download
M gin/shell/gin_main.cc View 1 chunk +1 line, -2 lines 0 comments Download
M gin/shell_runner_unittest.cc View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M gin/test/file_runner.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
M gin/test/v8_test.cc View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M mojo/edk/js/tests/js_to_cpp_tests.cc View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M net/proxy/proxy_resolver_v8.cc View 2 chunks +3 lines, -1 line 0 comments Download
M pdf/pdfium/pdfium_engine.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8Initializer.cpp View 2 chunks +3 lines, -2 lines 1 comment Download
M third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.h View 3 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.cpp View 1 2 chunks +5 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerBackingThread.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/fetch/DataConsumerHandleTestUtil.cpp View 1 2 3 4 2 chunks +7 lines, -1 line 0 comments Download

Messages

Total messages: 41 (29 generated)
altimin
PTAL
3 years, 12 months ago (2016-12-23 11:21:56 UTC) #22
jochen (gone - plz use gerrit)
could you please explain the rational for this change (preferably in the CL description)? Also ...
3 years, 12 months ago (2016-12-23 11:52:54 UTC) #23
altimin
On 2016/12/23 11:52:54, jochen wrote: > could you please explain the rational for this change ...
3 years, 12 months ago (2016-12-23 12:01:46 UTC) #26
jochen (gone - plz use gerrit)
lgtm, thx
3 years, 12 months ago (2016-12-23 12:03:38 UTC) #27
altimin
+ cbentzel@ for net/ + rockot@ for mojo/ PTAL
3 years, 12 months ago (2016-12-23 12:07:01 UTC) #29
haraken
WebKit LGTM
3 years, 12 months ago (2016-12-23 14:16:06 UTC) #30
Ken Rockot(use gerrit already)
lgtm
3 years, 12 months ago (2016-12-27 18:27:21 UTC) #32
cbentzel
net LGTM (sorry for delay)
3 years, 11 months ago (2017-01-02 21:38:38 UTC) #33
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/2589363003/80001
3 years, 11 months ago (2017-01-03 10:40:34 UTC) #35
commit-bot: I haz the power
Committed patchset #5 (id:80001)
3 years, 11 months ago (2017-01-03 14:07:29 UTC) #38
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/124814c8025c564a6f494a3c9d4c887d57b98f1e Cr-Commit-Position: refs/heads/master@{#441114}
3 years, 11 months ago (2017-01-03 14:10:03 UTC) #40
Ken Rockot(use gerrit already)
3 years, 11 months ago (2017-01-10 22:20:23 UTC) #41
Message was sent while issue was closed.
https://codereview.chromium.org/2589363003/diff/80001/third_party/WebKit/Sour...
File third_party/WebKit/Source/bindings/core/v8/V8Initializer.cpp (right):

https://codereview.chromium.org/2589363003/diff/80001/third_party/WebKit/Sour...
third_party/WebKit/Source/bindings/core/v8/V8Initializer.cpp:408:
V8PerIsolateData::initialize(scheduler->timerTaskRunner());
I would be surprised if we aren't seeing crashes in the wild because of this CL.
There is an implementation of WebThread in use for content utility processes
which always has a null scheduler(). If we're seeing crashes, we should probably
revert and reland once this code can be changed or we add a scheduler impl to
WebThreadImplForUtilityThread.

Powered by Google App Engine
This is Rietveld 408576698