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

Issue 115452: Scale backing store cache size (Closed)

Created:
11 years, 7 months ago by Joel Stanley (old)
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Scale backing store cache size. The approach is borrowed from render_process_host's kMaxRenderersByRamTier. The values were chosen to keep a minimal number of DIBs in the extreme low RAM case, and scale up linearly from there to the previous (constant) value of 5. Patch by Joel Stanley. BUG=12028

Patch Set 1 #

Total comments: 5

Patch Set 2 : addresses issues #

Total comments: 4

Patch Set 3 : fixes bad whitespace #

Patch Set 4 : more review changes #

Total comments: 3

Patch Set 5 : more updates #

Patch Set 6 : less out of bounds array access #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -4 lines) Patch
M chrome/browser/renderer_host/backing_store.cc View 1 2 3 4 5 2 chunks +15 lines, -4 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Dean McNamee
I am fine with the code not being share w/ the number of renders. The ...
11 years, 7 months ago (2009-05-18 08:05:30 UTC) #1
Joel Stanley (old)
On 2009/05/18 08:05:30, Dean McNamee wrote: > I am fine with the code not being ...
11 years, 7 months ago (2009-05-19 12:06:48 UTC) #2
Dean McNamee
http://codereview.chromium.org/115452/diff/2001/2003 File chrome/browser/renderer_host/backing_store.cc (right): http://codereview.chromium.org/115452/diff/2001/2003#newcode27 Line 27: static unsigned int max_size = 0; don't use ...
11 years, 7 months ago (2009-05-19 12:14:58 UTC) #3
Joel Stanley (old)
http://codereview.chromium.org/115452/diff/2001/2003 File chrome/browser/renderer_host/backing_store.cc (right): http://codereview.chromium.org/115452/diff/2001/2003#newcode27 Line 27: static unsigned int max_size = 0; On 2009/05/19 ...
11 years, 7 months ago (2009-05-19 13:27:12 UTC) #4
Dean McNamee
I am fine with this code-wise. I think there maybe should be some debate on ...
11 years, 7 months ago (2009-05-19 13:32:04 UTC) #5
Joel Stanley (old)
On 2009/05/19 13:32:04, Dean McNamee wrote: > I am fine with this code-wise. iyengar, are ...
11 years, 7 months ago (2009-05-25 02:30:39 UTC) #6
Joel Stanley (old)
Hey Evan, agl, Dean suggested I ask for your input on what numbers and thresholds ...
11 years, 7 months ago (2009-05-28 10:31:32 UTC) #7
agl
The numbers seem reasonable. I'm not sure that I have any special insight into what ...
11 years, 6 months ago (2009-05-28 16:45:45 UTC) #8
Joel Stanley (old)
> http://codereview.chromium.org/115452/diff/15/1009#newcode8 > Line 8: #include "base/sys_info.h" > nit: includes should be alphabetical. fixed > ...
11 years, 6 months ago (2009-05-29 07:37:48 UTC) #9
Dean McNamee
Ok, looks fine to me. Want me to commit it for you?
11 years, 6 months ago (2009-05-29 08:41:06 UTC) #10
Joel Stanley (old)
On 2009/05/29 08:41:06, Dean McNamee wrote: > Ok, looks fine to me. > > Want ...
11 years, 6 months ago (2009-05-29 13:53:43 UTC) #11
Joel Stanley (old)
11 years, 6 months ago (2009-05-31 14:21:38 UTC) #12
Dean,

This should be fixed now.  If you could commit it for me that would be great.

Powered by Google App Engine
This is Rietveld 408576698