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

Issue 2861613002: Reland: Do not kill recently killed ARC processes again (Closed)

Created:
3 years, 7 months ago by Yusuke Sato
Modified:
3 years, 7 months ago
Reviewers:
cylee1, Georges Khalil
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland: Do not kill recently killed ARC processes again ARC processes sometimes respawn right after being killed. In that case, killing them every time is just a waste of resources. BUG=706048 TEST=try TEST=Follow crbug.com/706048#c76, confirm Chrome no longer kills the processes too often. TEST=gn gen out/Debug --args='is_debug=true use_goma=true target_os="chromeos" is_component_build=true remove_webcore_debug_symbols=true' && ninja -C out/Debug unit_tests Review-Url: https://codereview.chromium.org/2861613002 Cr-Commit-Position: refs/heads/master@{#469092} Committed: https://chromium.googlesource.com/chromium/src/+/eba2b9c32c0df7536d5884ab0d645b2701815206

Patch Set 1 #

Patch Set 2 : fix chromeos debug build #

Total comments: 2

Patch Set 3 : address comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+137 lines, -6 lines) Patch
M chrome/browser/memory/tab_manager_delegate_chromeos.h View 1 2 6 chunks +24 lines, -1 line 0 comments Download
M chrome/browser/memory/tab_manager_delegate_chromeos.cc View 5 chunks +16 lines, -1 line 0 comments Download
M chrome/browser/memory/tab_manager_delegate_chromeos_unittest.cc View 1 5 chunks +97 lines, -4 lines 0 comments Download

Messages

Total messages: 17 (10 generated)
Yusuke Sato
Georges, could you have a look at this reland change? The only modification I did ...
3 years, 7 months ago (2017-05-03 03:04:11 UTC) #6
Yusuke Sato
I also confirmed that with the change, debug chromeos build now pass.
3 years, 7 months ago (2017-05-03 03:05:11 UTC) #7
cylee1
lgtm
3 years, 7 months ago (2017-05-03 16:51:59 UTC) #9
Georges Khalil
Owner LGTM % nit. https://codereview.chromium.org/2861613002/diff/20001/chrome/browser/memory/tab_manager_delegate_chromeos.h File chrome/browser/memory/tab_manager_delegate_chromeos.h (right): https://codereview.chromium.org/2861613002/diff/20001/chrome/browser/memory/tab_manager_delegate_chromeos.h#newcode103 chrome/browser/memory/tab_manager_delegate_chromeos.h:103: DoNotKillRecentlyKilledArcProcesses); nit: alphabetical order.
3 years, 7 months ago (2017-05-03 18:46:11 UTC) #10
Yusuke Sato
Thanks! https://codereview.chromium.org/2861613002/diff/20001/chrome/browser/memory/tab_manager_delegate_chromeos.h File chrome/browser/memory/tab_manager_delegate_chromeos.h (right): https://codereview.chromium.org/2861613002/diff/20001/chrome/browser/memory/tab_manager_delegate_chromeos.h#newcode103 chrome/browser/memory/tab_manager_delegate_chromeos.h:103: DoNotKillRecentlyKilledArcProcesses); On 2017/05/03 18:46:11, Georges Khalil wrote: > ...
3 years, 7 months ago (2017-05-03 19:24:37 UTC) #11
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/2861613002/40001
3 years, 7 months ago (2017-05-03 19:25:28 UTC) #14
commit-bot: I haz the power
3 years, 7 months ago (2017-05-03 20:02:29 UTC) #17
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/eba2b9c32c0df7536d5884ab0d64...

Powered by Google App Engine
This is Rietveld 408576698