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

Issue 2137013002: Make WebTraceLocation be an alias of tracked_objects::Location (Closed)

Created:
4 years, 5 months ago by tzik
Modified:
4 years, 5 months ago
CC:
blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, darin-cc_chromium.org, dglazkov+blink, jam, jochen+watch_chromium.org, mlamouri+watch-content_chromium.org, mlamouri+watch-test-runner_chromium.org, Peter Beverloo, scheduler-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make WebTraceLocation be an alias of tracked_objects::Location Make WebTraceLocation be an alias of tracked_objects::Location and BLINK_FROM_HERE be an alias of FROM_HERE as well. So that tasks posted from Blink leaves a valid program counter and line number in the crash dump. Committed: https://crrev.com/3c109dd65c1984237444da93f7c7acc8b0bdcd92 Cr-Commit-Position: refs/heads/master@{#405736}

Patch Set 1 #

Patch Set 2 : +#include <intrin.h> #

Total comments: 5

Patch Set 3 : +explicit conversion to tracked_objects::Location #

Patch Set 4 : Make WebTraceLocation be a alias of tracked_objects::Location #

Patch Set 5 : fix debug build #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -105 lines) Patch
M components/scheduler/child/web_scheduler_impl.cc View 1 2 3 2 chunks +10 lines, -15 lines 0 comments Download
M components/scheduler/child/web_task_runner_impl.cc View 1 2 3 2 chunks +7 lines, -12 lines 0 comments Download
M components/scheduler/child/webthread_base.h View 1 2 3 1 chunk +1 line, -4 lines 0 comments Download
M components/scheduler/child/webthread_base.cc View 1 2 3 1 chunk +8 lines, -10 lines 0 comments Download
M components/test_runner/test_plugin.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/child/resource_scheduling_filter.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/child/web_url_loader_impl.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M content/shell/renderer/layout_test/blink_test_runner.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/dom/ExecutionContext.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/ScriptRunner.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreator.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/workers/WorkerInspectorProxy.h View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/Timer.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/blink_platform.gypi View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/exported/WebTraceLocation.cpp View 1 2 3 1 chunk +0 lines, -29 lines 0 comments Download
M third_party/WebKit/Source/platform/threading/BackgroundTaskRunner.h View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/threading/BackgroundTaskRunner.cpp View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/public/platform/DEPS View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/public/platform/WebScheduler.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/public/platform/WebTaskRunner.h View 1 2 3 2 chunks +1 line, -2 lines 0 comments Download
M third_party/WebKit/public/platform/WebThread.h View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/public/platform/WebTraceLocation.h View 1 2 3 1 chunk +3 lines, -18 lines 0 comments Download

Messages

Total messages: 44 (30 generated)
tzik
PTAL to: alexclarke: //component/scheduler part tkent: blink/platform and //component/test_runner part kinuko: //content
4 years, 5 months ago (2016-07-14 05:31:33 UTC) #5
tkent
Is it difficult to switch BLINK_FROM_HERE to FROM_HERE?
4 years, 5 months ago (2016-07-14 05:40:19 UTC) #6
kinuko
https://codereview.chromium.org/2137013002/diff/20001/components/scheduler/child/web_scheduler_impl.cc File components/scheduler/child/web_scheduler_impl.cc (right): https://codereview.chromium.org/2137013002/diff/20001/components/scheduler/child/web_scheduler_impl.cc#newcode55 components/scheduler/child/web_scheduler_impl.cc:55: web_location.programCounter()); Why don't we just have operator tracked_objects::Location for ...
4 years, 5 months ago (2016-07-14 05:51:14 UTC) #7
tzik
https://codereview.chromium.org/2137013002/diff/20001/components/scheduler/child/web_scheduler_impl.cc File components/scheduler/child/web_scheduler_impl.cc (right): https://codereview.chromium.org/2137013002/diff/20001/components/scheduler/child/web_scheduler_impl.cc#newcode55 components/scheduler/child/web_scheduler_impl.cc:55: web_location.programCounter()); On 2016/07/14 05:51:14, kinuko wrote: > Why don't ...
4 years, 5 months ago (2016-07-14 07:51:06 UTC) #15
alex clarke (OOO till 29th)
Thanks! I this patch will make it easier to understand where blink tasks come from ...
4 years, 5 months ago (2016-07-14 10:20:48 UTC) #18
tzik
On 2016/07/14 10:20:48, alex clarke wrote: > Thanks! I this patch will make it easier ...
4 years, 5 months ago (2016-07-14 11:20:35 UTC) #21
kinuko
lgtm
4 years, 5 months ago (2016-07-14 23:34:43 UTC) #28
esprehn
This seems reasonable, lgtm. platform can depend on base/ as needed, especially when it simplifies ...
4 years, 5 months ago (2016-07-14 23:55:46 UTC) #29
tkent
third_party/WebKit and test_runner lgtm
4 years, 5 months ago (2016-07-15 00:01:38 UTC) #30
alex clarke (OOO till 29th)
scheduler/ LGTM
4 years, 5 months ago (2016-07-15 09:26:13 UTC) #36
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/2137013002/100001
4 years, 5 months ago (2016-07-15 09:45:56 UTC) #39
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 5 months ago (2016-07-15 09:51:21 UTC) #41
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/3c109dd65c1984237444da93f7c7acc8b0bdcd92 Cr-Commit-Position: refs/heads/master@{#405736}
4 years, 5 months ago (2016-07-15 09:53:19 UTC) #43
nednguyen
4 years, 4 months ago (2016-08-05 20:03:53 UTC) #44
Message was sent while issue was closed.
A revert of this CL (patchset #6 id:100001) has been created in
https://codereview.chromium.org/2218933003/ by nednguyen@google.com.

The reason for reverting is: Speculative revert: this CL may regress 
system_health.memory_mobile benchmark

BUG=629112.

Powered by Google App Engine
This is Rietveld 408576698