diff options
author | aelias@chromium.org <aelias@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-03 02:41:07 +0000 |
---|---|---|
committer | aelias@chromium.org <aelias@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-03 02:41:07 +0000 |
commit | 3f2ff115793c21854acf80b50532a6b03dd172a0 (patch) | |
tree | 90b8fb95da57adfe7e8d1855af231a0074118206 /third_party/JSON/LICENSE | |
parent | d600df7d219890dd9a101922b25d3bff9f4195c3 (diff) | |
download | chromium_src-3f2ff115793c21854acf80b50532a6b03dd172a0.zip chromium_src-3f2ff115793c21854acf80b50532a6b03dd172a0.tar.gz chromium_src-3f2ff115793c21854acf80b50532a6b03dd172a0.tar.bz2 |
Add memory policy limit by number of resources.
Currently, MemoryPolicy only limits by number of bytes allocated. For
resources like Android gralloc buffers which also have a process or
system-wide limit, we also need to limit by count of the resource. This
patch implements this and sets a limit of 100 from the AndroidWebView
OutputSurface.
As additional cleanup, I also moved the ignore-0-memory-policy logic to
OutputSurface as it doesn't seem appropriate in CC.
New test parametrization for TileManagerTests.
NOTRY=true
BUG=266619
Review URL: https://chromiumcodereview.appspot.com/20843007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215464 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/JSON/LICENSE')
0 files changed, 0 insertions, 0 deletions