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

Issue 18910002: Set DISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY to true on Android. (Closed)

Created:
7 years, 5 months ago by rmcilroy
Modified:
7 years, 5 months ago
Reviewers:
Ian Vollick, jamesr
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Set DISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY to true on Android. Also change render_process_visibility_manager to use MEMORY_PRESSURE_MODERATE when the renderer loses visibility since MEMORY_PRESSURE_CRITICAL should be reserved for situations where memory pressure is really critical. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=211635

Patch Set 1 #

Patch Set 2 : Add SYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE flag #

Total comments: 7

Patch Set 3 : Address James's comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -2 lines) Patch
M build/common.gypi View 1 2 4 chunks +16 lines, -0 lines 0 comments Download
M content/renderer/render_process_visibility_manager.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
rmcilroy
7 years, 5 months ago (2013-07-09 15:29:41 UTC) #1
Ian Vollick
On 2013/07/09 15:29:41, Ross Mcilroy wrote: Offline, you'd suggested using the name SYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE instead. I ...
7 years, 5 months ago (2013-07-10 01:33:37 UTC) #2
rmcilroy
On 2013/07/10 01:33:37, vollick wrote: > On 2013/07/09 15:29:41, Ross Mcilroy wrote: > > Offline, ...
7 years, 5 months ago (2013-07-10 13:22:48 UTC) #3
Ian Vollick
On 2013/07/10 13:22:48, Ross Mcilroy wrote: > On 2013/07/10 01:33:37, vollick wrote: > > On ...
7 years, 5 months ago (2013-07-10 14:51:53 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rmcilroy@chromium.org/18910002/4001
7 years, 5 months ago (2013-07-10 14:55:03 UTC) #5
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=14516
7 years, 5 months ago (2013-07-10 15:11:29 UTC) #6
rmcilroy
James: could you approve for content/renderer OWNERS please.
7 years, 5 months ago (2013-07-10 15:28:50 UTC) #7
jamesr
https://codereview.chromium.org/18910002/diff/4001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/18910002/diff/4001/build/common.gypi#newcode421 build/common.gypi:421: # Set to true if platform natively supports discarable ...
7 years, 5 months ago (2013-07-10 20:28:21 UTC) #8
rmcilroy
Thanks for the comments James. They should be addressed in the latest patchset. https://codereview.chromium.org/18910002/diff/4001/build/common.gypi File ...
7 years, 5 months ago (2013-07-11 08:57:27 UTC) #9
rmcilroy
https://codereview.chromium.org/18910002/diff/4001/content/renderer/render_process_visibility_manager.cc File content/renderer/render_process_visibility_manager.cc (right): https://codereview.chromium.org/18910002/diff/4001/content/renderer/render_process_visibility_manager.cc#newcode32 content/renderer/render_process_visibility_manager.cc:32: base::MemoryPressureListener::MEMORY_PRESSURE_MODERATE); On 2013/07/11 08:57:27, Ross Mcilroy wrote: > On ...
7 years, 5 months ago (2013-07-11 09:07:38 UTC) #10
jamesr
lgtm
7 years, 5 months ago (2013-07-13 01:41:29 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rmcilroy@chromium.org/18910002/16001
7 years, 5 months ago (2013-07-15 08:36:47 UTC) #12
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 5 months ago (2013-07-15 08:43:09 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rmcilroy@chromium.org/18910002/16001
7 years, 5 months ago (2013-07-15 12:05:43 UTC) #14
commit-bot: I haz the power
7 years, 5 months ago (2013-07-15 13:28:52 UTC) #15
Message was sent while issue was closed.
Change committed as 211635

Powered by Google App Engine
This is Rietveld 408576698