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

Issue 2564623004: memory coordinator: Throttle background renderers on Android (Closed)

Created:
4 years ago by bashi
Modified:
4 years ago
Reviewers:
haraken, chrisha
CC:
chromium-reviews, jam, darin-cc_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

memory coordinator: Throttle background renderers on Android On mobile devices, there are less available memory and high tab switching cost compared to desktop environments. Given that, it would make sense to throttle background renderers immediately. BUG=617492 Committed: https://crrev.com/feae988cc92320f9f7d8f0d9a5fa5056d11e3f69 Cr-Commit-Position: refs/heads/master@{#437476}

Patch Set 1 #

Total comments: 3

Patch Set 2 : naming #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -6 lines) Patch
M content/browser/memory/memory_coordinator.h View 1 2 chunks +7 lines, -1 line 0 comments Download
M content/browser/memory/memory_coordinator.cc View 1 2 chunks +18 lines, -4 lines 0 comments Download
M content/browser/memory/memory_coordinator_unittest.cc View 2 chunks +30 lines, -1 line 0 comments Download

Messages

Total messages: 13 (7 generated)
bashi
PTAL It would be better to avoid ifdefs (instead adding MemoryCoordinatorAndroid) but it may be ...
4 years ago (2016-12-09 03:11:16 UTC) #4
haraken
LGTM https://codereview.chromium.org/2564623004/diff/1/content/browser/memory/memory_coordinator.cc File content/browser/memory/memory_coordinator.cc (right): https://codereview.chromium.org/2564623004/diff/1/content/browser/memory/memory_coordinator.cc#newcode91 content/browser/memory/memory_coordinator.cc:91: memory_state = OverrideChildState(memory_state, iter->second); OverrideGlobalState ? I might ...
4 years ago (2016-12-09 03:48:50 UTC) #5
bashi
https://codereview.chromium.org/2564623004/diff/1/content/browser/memory/memory_coordinator.cc File content/browser/memory/memory_coordinator.cc (right): https://codereview.chromium.org/2564623004/diff/1/content/browser/memory/memory_coordinator.cc#newcode91 content/browser/memory/memory_coordinator.cc:91: memory_state = OverrideChildState(memory_state, iter->second); On 2016/12/09 03:48:50, haraken wrote: ...
4 years ago (2016-12-09 04:18:46 UTC) #6
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/2564623004/20001
4 years ago (2016-12-09 04:19:31 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-09 05:24:07 UTC) #11
commit-bot: I haz the power
4 years ago (2016-12-09 05:26:38 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/feae988cc92320f9f7d8f0d9a5fa5056d11e3f69
Cr-Commit-Position: refs/heads/master@{#437476}

Powered by Google App Engine
This is Rietveld 408576698