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

Issue 1439213004: Fix various TaskManager bugs and add new enhancements (Closed)

Created:
5 years, 1 month ago by afakhry
Modified:
5 years ago
Reviewers:
ncarter (slow)
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix various TaskManager bugs and add new enhancements The following items are included in this CL. 1- Javascipt column for child processes that don't use V8 memory should always show "N/A". 2- Idle wakeups should show up only once per process. 3- NaCl debug ports column shows "Disabled" when the enable-nacl-debug flag is disabled. 4- NaCl modules should show the name of the app/extension instead of the URL. 5- Network usage can now be reported per process. R=nick@chromium.org BUG=551580 Committed: https://crrev.com/46afb30171cfbf9e2e0431decc67e9ced81c7716 Cr-Commit-Position: refs/heads/master@{#361152}

Patch Set 1 #

Patch Set 2 : Fix unit tests #

Patch Set 3 : Fix a compile error when Nacl is disabled. #

Patch Set 4 : Another Nacl compile error on Windows. #

Patch Set 5 : V8 memory calculations are ignored for child procs that don't use it. #

Total comments: 8

Patch Set 6 : Removing profile names for child processes for now. #

Patch Set 7 : Remove use of ProfileManager::GetActiveUserProfile(). #

Total comments: 2

Patch Set 8 : auto*& --> auto* #

Unified diffs Side-by-side diffs Delta from patch set Stats (+137 lines, -26 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/task_management/providers/child_process_task.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/task_management/providers/child_process_task.cc View 1 2 3 4 5 6 7 7 chunks +41 lines, -3 lines 0 comments Download
M chrome/browser/task_management/providers/task.h View 3 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/task_management/providers/task.cc View 2 chunks +17 lines, -0 lines 0 comments Download
M chrome/browser/task_management/providers/web_contents/renderer_task.cc View 2 chunks +1 line, -11 lines 0 comments Download
M chrome/browser/task_management/sampling/task_group.h View 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/task_management/sampling/task_group.cc View 2 chunks +13 lines, -3 lines 0 comments Download
M chrome/browser/task_management/sampling/task_manager_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/task_management/sampling/task_manager_impl.cc View 1 2 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/task_management/task_manager_interface.h View 1 2 2 chunks +10 lines, -2 lines 0 comments Download
M chrome/browser/task_management/task_manager_observer_unittest.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/task_manager/task_manager_table_model.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/task_manager/task_manager_table_model.cc View 1 2 3 11 chunks +26 lines, -4 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
afakhry
Hey Nick, please review this CL. Thank you!
5 years, 1 month ago (2015-11-14 01:41:50 UTC) #3
ncarter (slow)
https://codereview.chromium.org/1439213004/diff/80001/chrome/browser/task_management/providers/child_process_task.cc File chrome/browser/task_management/providers/child_process_task.cc (right): https://codereview.chromium.org/1439213004/diff/80001/chrome/browser/task_management/providers/child_process_task.cc#newcode163 chrome/browser/task_management/providers/child_process_task.cc:163: ProfileManager::GetActiveUserProfile()); I don't think there's any reason to expect ...
5 years, 1 month ago (2015-11-18 18:39:56 UTC) #4
afakhry
https://codereview.chromium.org/1439213004/diff/80001/chrome/browser/task_management/providers/child_process_task.cc File chrome/browser/task_management/providers/child_process_task.cc (right): https://codereview.chromium.org/1439213004/diff/80001/chrome/browser/task_management/providers/child_process_task.cc#newcode84 chrome/browser/task_management/providers/child_process_task.cc:84: ProfileManager::GetActiveUserProfile())->enabled_extensions(); What about this? We still need a profile ...
5 years, 1 month ago (2015-11-19 01:12:01 UTC) #6
ncarter (slow)
ps6 looks good with the exception of the remaining call to GetActiveUserProfile. https://codereview.chromium.org/1439213004/diff/80001/chrome/browser/task_management/providers/child_process_task.cc File chrome/browser/task_management/providers/child_process_task.cc ...
5 years, 1 month ago (2015-11-19 20:06:44 UTC) #7
afakhry
https://codereview.chromium.org/1439213004/diff/80001/chrome/browser/task_management/providers/child_process_task.cc File chrome/browser/task_management/providers/child_process_task.cc (right): https://codereview.chromium.org/1439213004/diff/80001/chrome/browser/task_management/providers/child_process_task.cc#newcode84 chrome/browser/task_management/providers/child_process_task.cc:84: ProfileManager::GetActiveUserProfile())->enabled_extensions(); On 2015/11/19 20:06:44, ncarter wrote: > On 2015/11/19 ...
5 years, 1 month ago (2015-11-20 20:55:43 UTC) #8
ncarter (slow)
lgtm https://codereview.chromium.org/1439213004/diff/80001/chrome/browser/task_management/providers/task.h File chrome/browser/task_management/providers/task.h (right): https://codereview.chromium.org/1439213004/diff/80001/chrome/browser/task_management/providers/task.h#newcode49 chrome/browser/task_management/providers/task.h:49: static base::string16 GetProfileNameFromProfile(Profile* profile); On 2015/11/19 01:12:01, afakhry ...
5 years, 1 month ago (2015-11-20 21:44:37 UTC) #9
afakhry
https://codereview.chromium.org/1439213004/diff/120001/chrome/browser/task_management/providers/child_process_task.cc File chrome/browser/task_management/providers/child_process_task.cc (right): https://codereview.chromium.org/1439213004/diff/120001/chrome/browser/task_management/providers/child_process_task.cc#newcode86 chrome/browser/task_management/providers/child_process_task.cc:86: for (auto*& profile : loaded_profiles) { On 2015/11/20 21:44:37, ...
5 years ago (2015-11-23 18:06:20 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1439213004/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1439213004/140001
5 years ago (2015-11-23 18:07:55 UTC) #13
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years ago (2015-11-23 19:26:19 UTC) #14
commit-bot: I haz the power
5 years ago (2015-11-23 19:26:57 UTC) #15
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/46afb30171cfbf9e2e0431decc67e9ced81c7716
Cr-Commit-Position: refs/heads/master@{#361152}

Powered by Google App Engine
This is Rietveld 408576698