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

Issue 1858033002: [ChromeOS] Do not send the memory pressure notification from chrome to renderers (Closed)

Created:
4 years, 8 months ago by oshima
Modified:
4 years, 8 months ago
Reviewers:
chrisha, Georges Khalil, sky
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Do not send the memory pressure notification from chrome to renderers This is causing thrashing so let's disable until it is fixed. BUG=588172 Committed: https://crrev.com/96b048f72b929b4edc99609cf953f274cb0ffdaf Cr-Commit-Position: refs/heads/master@{#385096}

Patch Set 1 : #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : gied ifdef #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -1 line) Patch
M chrome/browser/memory/tab_manager.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/memory/tab_manager_unittest.cc View 1 2 3 4 1 chunk +8 lines, -1 line 0 comments Download

Messages

Total messages: 46 (24 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1858033002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1858033002/20001
4 years, 8 months ago (2016-04-04 22:38:42 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1858033002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1858033002/40001
4 years, 8 months ago (2016-04-04 22:40:59 UTC) #8
oshima
Hi, we need to merge this to m50 beta. Can one of you review this ...
4 years, 8 months ago (2016-04-04 22:42:06 UTC) #10
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_compile_dbg_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_compile_dbg_ng/builds/179827)
4 years, 8 months ago (2016-04-04 22:59:53 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1858033002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1858033002/60001
4 years, 8 months ago (2016-04-04 23:02:19 UTC) #14
oshima
sky@, can you review this? I contacted georgesak@, but he was not at the office ...
4 years, 8 months ago (2016-04-04 23:34:53 UTC) #16
sky
https://codereview.chromium.org/1858033002/diff/60001/chrome/browser/memory/tab_manager_unittest.cc File chrome/browser/memory/tab_manager_unittest.cc (right): https://codereview.chromium.org/1858033002/diff/60001/chrome/browser/memory/tab_manager_unittest.cc#newcode437 chrome/browser/memory/tab_manager_unittest.cc:437: #if !defined(OS_CHROMEOS) Can you conditionally run the test? By ...
4 years, 8 months ago (2016-04-04 23:46:35 UTC) #17
oshima
https://codereview.chromium.org/1858033002/diff/60001/chrome/browser/memory/tab_manager_unittest.cc File chrome/browser/memory/tab_manager_unittest.cc (right): https://codereview.chromium.org/1858033002/diff/60001/chrome/browser/memory/tab_manager_unittest.cc#newcode437 chrome/browser/memory/tab_manager_unittest.cc:437: #if !defined(OS_CHROMEOS) On 2016/04/04 23:46:35, sky wrote: > Can ...
4 years, 8 months ago (2016-04-04 23:49:25 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1858033002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1858033002/80001
4 years, 8 months ago (2016-04-04 23:50:34 UTC) #20
sky
LGTM https://codereview.chromium.org/1858033002/diff/80001/chrome/browser/memory/tab_manager_unittest.cc File chrome/browser/memory/tab_manager_unittest.cc (right): https://codereview.chromium.org/1858033002/diff/80001/chrome/browser/memory/tab_manager_unittest.cc#newcode454 chrome/browser/memory/tab_manager_unittest.cc:454: // ChildProcessNotification is disabled on ChromOS. crbug.com/588172. nit: ...
4 years, 8 months ago (2016-04-04 23:51:38 UTC) #21
oshima
4 years, 8 months ago (2016-04-05 00:02:26 UTC) #25
oshima
https://codereview.chromium.org/1858033002/diff/80001/chrome/browser/memory/tab_manager_unittest.cc File chrome/browser/memory/tab_manager_unittest.cc (right): https://codereview.chromium.org/1858033002/diff/80001/chrome/browser/memory/tab_manager_unittest.cc#newcode454 chrome/browser/memory/tab_manager_unittest.cc:454: // ChildProcessNotification is disabled on ChromOS. crbug.com/588172. On 2016/04/04 ...
4 years, 8 months ago (2016-04-05 00:03:50 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1858033002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1858033002/100001
4 years, 8 months ago (2016-04-05 00:06:22 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chromium_gn_compile_dbg/builds/45398)
4 years, 8 months ago (2016-04-05 00:17:29 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1858033002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1858033002/100001
4 years, 8 months ago (2016-04-05 00:23:08 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/116499) chromeos_daisy_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, ...
4 years, 8 months ago (2016-04-05 00:24:43 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1858033002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1858033002/100001
4 years, 8 months ago (2016-04-05 00:57:45 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/149273)
4 years, 8 months ago (2016-04-05 01:41:25 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1858033002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1858033002/120001
4 years, 8 months ago (2016-04-05 01:50:01 UTC) #41
commit-bot: I haz the power
Committed patchset #5 (id:120001)
4 years, 8 months ago (2016-04-05 03:07:25 UTC) #43
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/96b048f72b929b4edc99609cf953f274cb0ffdaf Cr-Commit-Position: refs/heads/master@{#385096}
4 years, 8 months ago (2016-04-05 03:09:05 UTC) #45
chrisha
4 years, 8 months ago (2016-04-05 13:36:58 UTC) #46
Message was sent while issue was closed.
Is this a little draconic? Rather than disabling the entire notification
mechanism, can't we simply eliminate the GCs on reception of the notification?
There are other things (empty caches, page buffers, etc) that could still be
useful and likely aren't janky. (Testing would be required.)

Powered by Google App Engine
This is Rietveld 408576698