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

Issue 2852093003: Don't kill a process if it has IMPORTANT_FOREGROUND or higher priority (Closed)

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

Description

Don't kill a process if it has IMPORTANT_FOREGROUND or higher priority Actively killing IMPORTANT_FOREGROUND processes in Chrome doesn't make much sense because the processes are user-visible to some extent and because of that, they will likely respawn immediately after being killed. BUG=706048 TEST=try TEST=Follow crbug.com/706048#c76, confirm we no longer see infinite the kill-respawn loop. Review-Url: https://codereview.chromium.org/2852093003 Cr-Commit-Position: refs/heads/master@{#468788} Committed: https://chromium.googlesource.com/chromium/src/+/b9b315ec73b88bebaaa1b45dd85b338392eb8fef

Patch Set 1 #

Patch Set 2 : added unit test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -4 lines) Patch
M chrome/browser/memory/tab_manager_delegate_chromeos.cc View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/memory/tab_manager_delegate_chromeos_unittest.cc View 1 3 chunks +10 lines, -3 lines 0 comments Download

Messages

Total messages: 24 (13 generated)
Yusuke Sato
Luis, Cheng-Yu, PTAL.
3 years, 7 months ago (2017-05-01 21:32:28 UTC) #6
Luis Héctor Chávez
lgtm
3 years, 7 months ago (2017-05-01 21:39:18 UTC) #7
Luis Héctor Chávez
ah just one nit: s/Activly/Actively/ in the commit message.
3 years, 7 months ago (2017-05-01 21:39:44 UTC) #8
Yusuke Sato
oops, done.
3 years, 7 months ago (2017-05-01 22:56:23 UTC) #13
Yusuke Sato
cylee@ ping?
3 years, 7 months ago (2017-05-02 17:00:30 UTC) #14
cylee1
lgtm
3 years, 7 months ago (2017-05-02 18:48:38 UTC) #15
cylee1
+George since I'm not in the OWNER list
3 years, 7 months ago (2017-05-02 18:49:46 UTC) #17
Yusuke Sato
Thanks. Georges, please do an OWNER review.
3 years, 7 months ago (2017-05-02 19:49:20 UTC) #18
Georges Khalil
lgtm
3 years, 7 months ago (2017-05-02 21:32:41 UTC) #19
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/2852093003/20001
3 years, 7 months ago (2017-05-02 21:34:14 UTC) #21
commit-bot: I haz the power
3 years, 7 months ago (2017-05-02 22:05:29 UTC) #24
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/b9b315ec73b88bebaaa1b45dd85b...

Powered by Google App Engine
This is Rietveld 408576698