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

Issue 2693223003: Revert of Add ChildMemoryCoordinator::PurgeMemory() (Closed)

Created:
3 years, 10 months ago by Wez
Modified:
3 years, 10 months ago
Reviewers:
haraken, tasak, jam, bashi
CC:
chromium-reviews, jam, darin-cc_chromium.org, mlamouri+watch-content_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Add ChildMemoryCoordinator::PurgeMemory() (patchset #2 id:20001 of https://codereview.chromium.org/2669323002/ ) Reason for revert: Appears to be the root cause of crbug.com/692509 (renderer crashes in RenderThreadImpl::OnProcessPurgeAndSuspend) - although the timeline doesn't match up, the change to RenderThreadImpl appears incorrect by inspection (see my comment in the original CL). Original issue's description: > Add ChildMemoryCoordinator::PurgeMemory() > > In crrev.com/2655083003 we added OnPurgeMemory() to > MemoryCoordinatorClient and we are moving purging logic from > OnMemoryStateChange() to OnPurgeMemory(). To make this transition easy, > this CL adds PurgeMemory() to ChildMemoryCoordinator. This method calls > both OnPurgeMemory() and OnMemoryStateChange(SUSPENDED). After purging > logic in all clients move to OnPurgeMemory(), we can remove > OnMemoryStateChange() call. > > BUG=684287 > > Review-Url: https://codereview.chromium.org/2669323002 > Cr-Commit-Position: refs/heads/master@{#448475} > Committed: https://chromium.googlesource.com/chromium/src/+/110841cafec3a76ab7446dc7c59107572a2fc68f NOTRY=true TBR=tasak@google.com,jam@chromium.org,haraken@chromium.org,bashi@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=684287 Review-Url: https://codereview.chromium.org/2693223003 Cr-Commit-Position: refs/heads/master@{#450859} Committed: https://chromium.googlesource.com/chromium/src/+/c80d2d2b0fcceac67a16bf6ffb516ba5c0023230

Patch Set 1 #

Patch Set 2 : Reduce to revert only the RenderThreadImpl change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M content/renderer/render_thread_impl.cc View 1 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 25 (14 generated)
Wez
Created Revert of Add ChildMemoryCoordinator::PurgeMemory()
3 years, 10 months ago (2017-02-15 22:48:07 UTC) #2
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/2693223003/1
3 years, 10 months ago (2017-02-15 22:49:01 UTC) #3
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clang_dbg_recipe/builds/212730) android_cronet on master.tryserver.chromium.android (JOB_FAILED, ...
3 years, 10 months ago (2017-02-15 22:54:39 UTC) #5
haraken
LGTM to revert
3 years, 10 months ago (2017-02-15 23:38:38 UTC) #8
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/2693223003/100001
3 years, 10 months ago (2017-02-16 00:47:13 UTC) #12
bashi
LGTM. Thanks wez@ for reverting. I'll take a look.
3 years, 10 months ago (2017-02-16 00:51:29 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_daisy_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) linux_chromium_asan_rel_ng on ...
3 years, 10 months ago (2017-02-16 01:12:31 UTC) #15
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/2693223003/100001
3 years, 10 months ago (2017-02-16 01:40:39 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
3 years, 10 months ago (2017-02-16 02:49:36 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/2693223003/100001
3 years, 10 months ago (2017-02-16 02:54:17 UTC) #22
commit-bot: I haz the power
3 years, 10 months ago (2017-02-16 03:29:16 UTC) #25
Message was sent while issue was closed.
Committed patchset #2 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/c80d2d2b0fcceac67a16bf6ffb51...

Powered by Google App Engine
This is Rietveld 408576698