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

Issue 2590073002: Disable suspending renderer when memory coordinator is enabled (Closed)

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

Description

Disable suspending renderer when memory coordinator is enabled Just calling SuspendRenderer() in OnMemoryStateChange() breaks many things. We need a reliable and consistent way to suspend renderers. Until we come up with a solution, disable renderer suspending when memory coordinator is enabled. In follow-up CLs I'll add some tests to prevent this kind of regressions. BUG=675735, 675811 Committed: https://crrev.com/b1536fd7e1fa4dd7559e2c12e290e79cf949e9fe Cr-Commit-Position: refs/heads/master@{#439708}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -11 lines) Patch
M content/renderer/render_thread_impl.cc View 4 chunks +12 lines, -11 lines 0 comments Download

Messages

Total messages: 19 (9 generated)
bashi
PTAL
4 years ago (2016-12-20 02:31:02 UTC) #4
haraken
LGTM I'm a bit concerned if SuspendRenderer would be causing the same issue though.
4 years ago (2016-12-20 02:34:48 UTC) #5
bashi
On 2016/12/20 02:34:48, haraken wrote: > LGTM > > I'm a bit concerned if SuspendRenderer ...
4 years ago (2016-12-20 02:38:00 UTC) #6
bashi
+avi@ for OWNERS review. (IIUC concern raised in comment #5 is about purge+suspend experiment and ...
4 years ago (2016-12-20 02:45:41 UTC) #8
Avi (use Gerrit)
lgtm stamp Good luck.
4 years ago (2016-12-20 03:17:45 UTC) #9
bashi
Thank you for the quick review!
4 years ago (2016-12-20 04:11:09 UTC) #10
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/2590073002/1
4 years ago (2016-12-20 04:11:27 UTC) #13
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-20 04:50:06 UTC) #16
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/b1536fd7e1fa4dd7559e2c12e290e79cf949e9fe Cr-Commit-Position: refs/heads/master@{#439708}
4 years ago (2016-12-20 04:52:27 UTC) #18
tasak
4 years ago (2016-12-21 04:05:11 UTC) #19
Message was sent while issue was closed.
On 2016/12/20 02:38:00, bashi1 wrote:
> On 2016/12/20 02:34:48, haraken wrote:
> > LGTM
> > 
> > I'm a bit concerned if SuspendRenderer would be causing the same issue
though.
> 
> Yes, I have the same concern.
> 
> tasak@: Would you mind checking it (esp. tracing) ?

I'm sorry, bashi-san. I was on vacation.

I think, this change breaks PurgeAndSuspend finch experiment, because CC, and so
on is not purged when suspended.
So I created the patch: https://codereview.chromium.org/2595813002/.

I think, the patch will fix this issue.

Powered by Google App Engine
This is Rietveld 408576698