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

Issue 2638973002: Use loading tq instead of timer tq for per-isolate tasks (Closed)

Created:
3 years, 11 months ago by altimin
Modified:
3 years, 11 months ago
Reviewers:
haraken, Sami
CC:
chromium-reviews, blink-reviews, blink-reviews-bindings_chromium.org, Primiano Tucci (use gerrit), Sami
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use loading tq instead of timer tq for per-isolate tasks When per-isolate tasks are posted to timer tq, memory usage metrics go up. This may happen due to garbage collection being throttled. Switch tasks to loading task queue to fix regression for now. R=haraken@chromium.org CC=skyostil@chromium.org,primiano@chromium.org BUG=678286, 676805 Review-Url: https://codereview.chromium.org/2638973002 Cr-Commit-Position: refs/heads/master@{#444327} Committed: https://chromium.googlesource.com/chromium/src/+/4f45c5de5f5444ffb697790c76387e66502d079f

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M third_party/WebKit/Source/bindings/core/v8/V8Initializer.cpp View 1 chunk +2 lines, -1 line 3 comments Download

Messages

Total messages: 14 (8 generated)
altimin
PTAL
3 years, 11 months ago (2017-01-17 18:56:37 UTC) #1
Sami
lgtm for now. I'm not sure of what the long term solution here is -- ...
3 years, 11 months ago (2017-01-17 19:30:36 UTC) #5
haraken
LGTM https://codereview.chromium.org/2638973002/diff/1/third_party/WebKit/Source/bindings/core/v8/V8Initializer.cpp File third_party/WebKit/Source/bindings/core/v8/V8Initializer.cpp (right): https://codereview.chromium.org/2638973002/diff/1/third_party/WebKit/Source/bindings/core/v8/V8Initializer.cpp#newcode397 third_party/WebKit/Source/bindings/core/v8/V8Initializer.cpp:397: // TODO(altimin): Consider switching to timerTaskRunner here. Add ...
3 years, 11 months ago (2017-01-18 00:05:03 UTC) #8
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/2638973002/1
3 years, 11 months ago (2017-01-18 10:23:47 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/4f45c5de5f5444ffb697790c76387e66502d079f
3 years, 11 months ago (2017-01-18 10:27:58 UTC) #13
altimin
3 years, 11 months ago (2017-01-18 13:07:09 UTC) #14
Message was sent while issue was closed.
https://codereview.chromium.org/2638973002/diff/1/third_party/WebKit/Source/b...
File third_party/WebKit/Source/bindings/core/v8/V8Initializer.cpp (right):

https://codereview.chromium.org/2638973002/diff/1/third_party/WebKit/Source/b...
third_party/WebKit/Source/bindings/core/v8/V8Initializer.cpp:399: scheduler ?
scheduler->loadingTaskRunner()
On 2017/01/18 00:05:03, haraken wrote:
> 
> Maybe do we want to use an unthrottled task runner?

Most probably we need to expose different task runners to isolate and route
appropriate tasks to appropriate queues.

Powered by Google App Engine
This is Rietveld 408576698