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

Issue 588823002: A visibile to invisible state change will also release memory and should therefore wait as an unloa… (Closed)

Created:
6 years, 3 months ago by Mr4D (OOO till 08-26)
Modified:
6 years, 3 months ago
Reviewers:
oshima
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

A visibile to invisible state change will also release memory and should therefore wait as an unload does A visibility change will also release memory and should therefore also stall an immediate unload. Updated comments and cleaned up the ResourceManager function. BUG=414918 TEST=unittest Committed: https://crrev.com/e07573d4bf70bbb0d5181864cce6f265b06625fb Cr-Commit-Position: refs/heads/master@{#296118}

Patch Set 1 #

Total comments: 11

Patch Set 2 : nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -56 lines) Patch
M athena/resource_manager/memory_pressure_notifier.h View 1 chunk +7 lines, -5 lines 0 comments Download
M athena/resource_manager/resource_manager_impl.cc View 1 11 chunks +85 lines, -48 lines 0 comments Download
M athena/resource_manager/resource_manager_unittest.cc View 1 chunk +16 lines, -3 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
Mr4D (OOO till 08-26)
Please have a look!
6 years, 3 months ago (2014-09-19 23:40:24 UTC) #2
oshima
lgtm with nits https://codereview.chromium.org/588823002/diff/1/athena/resource_manager/resource_manager_impl.cc File athena/resource_manager/resource_manager_impl.cc (right): https://codereview.chromium.org/588823002/diff/1/athena/resource_manager/resource_manager_impl.cc#newcode97 athena/resource_manager/resource_manager_impl.cc:97: void ResourcesGotReleased(); OnResourceReleased is more common. ...
6 years, 3 months ago (2014-09-22 16:22:51 UTC) #3
Mr4D (OOO till 08-26)
Addressed! Thanks for the review! https://codereview.chromium.org/588823002/diff/1/athena/resource_manager/resource_manager_impl.cc File athena/resource_manager/resource_manager_impl.cc (right): https://codereview.chromium.org/588823002/diff/1/athena/resource_manager/resource_manager_impl.cc#newcode97 athena/resource_manager/resource_manager_impl.cc:97: void ResourcesGotReleased(); On 2014/09/22 ...
6 years, 3 months ago (2014-09-23 00:28:56 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/588823002/20001
6 years, 3 months ago (2014-09-23 00:29:43 UTC) #6
oshima
s lgtm https://codereview.chromium.org/588823002/diff/1/athena/resource_manager/resource_manager_impl.cc File athena/resource_manager/resource_manager_impl.cc (right): https://codereview.chromium.org/588823002/diff/1/athena/resource_manager/resource_manager_impl.cc#newcode454 athena/resource_manager/resource_manager_impl.cc:454: next_resource_management_time_ = base::Time::Now(); On 2014/09/23 00:28:56, Mr4D ...
6 years, 3 months ago (2014-09-23 00:42:36 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001) as df5725ed0f826f9d3ad5fcc10bca695f36e03ed6
6 years, 3 months ago (2014-09-23 01:09:07 UTC) #8
commit-bot: I haz the power
6 years, 3 months ago (2014-09-23 01:09:37 UTC) #9
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/e07573d4bf70bbb0d5181864cce6f265b06625fb
Cr-Commit-Position: refs/heads/master@{#296118}

Powered by Google App Engine
This is Rietveld 408576698