0
Files
src/base
reveman@chromium.org bc5bb33c7c base: Avoid purging more discardable memory than necessary.
In situations when discardable memory usage is above the limit,
instead of purging the amount of memory that we would try to
reclaim under moderate memory pressure, purge only what is
necessary to stay below the limit.

This simplifies the code and makes it easier to understand how
memory is purged as a result of reaching the memory limit.

BUG=237681
TEST=base_unittests --gtest_filter=DiscardableMemoryProviderPermutationTests/DiscardableMemoryProviderPermutationTest.LRUDiscardedAmount/*

Review URL: https://codereview.chromium.org/59083011

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234652 0039d316-1c4b-4281-b951-d872f2087c98
2013-11-12 22:43:23 +00:00
..
2013-10-08 07:10:42 +00:00
2013-11-12 06:12:38 +00:00
2013-01-23 23:49:55 +00:00
2013-10-31 04:50:51 +00:00
2013-09-27 08:52:29 +00:00
2013-09-27 08:52:29 +00:00
2012-09-01 00:55:09 +00:00
2012-09-01 00:55:09 +00:00
2013-07-01 17:11:36 +00:00
2013-08-24 23:34:36 +00:00
2013-02-02 05:12:33 +00:00
2013-09-03 23:29:12 +00:00
2013-09-21 03:47:44 +00:00
2013-09-03 23:29:12 +00:00
2013-09-03 23:29:12 +00:00
2013-09-03 23:29:12 +00:00
2013-09-03 23:29:12 +00:00
2013-09-11 12:05:56 +00:00
2013-09-03 23:29:12 +00:00
2013-04-22 07:35:50 +00:00
2013-09-03 23:29:12 +00:00
2013-09-03 23:29:12 +00:00