Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Disk cache: First implementation of TrimDeleted() and a few | rvargas@google.com | 2009-03-18 | 1 | -4/+57 |
| | | | | | | | | | | other fixes related to the new eviction code. As before, almost everything is disabled by default. Review URL: http://codereview.chromium.org/48112 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11995 0039d316-1c4b-4281-b951-d872f2087c98 | ||||
* | New disk cache eviction algorithm (partial implementation). | rvargas@google.com | 2009-03-06 | 1 | -11/+248 |
| | | | | | | | | | | | | | | | | | | | | | | | | Disabled by a #def. When enabled, file format 2.1 is used, with a possible update from ver 2.0. If a version with this code disabled is run after the upgrade, it will just discard the file and go back to 2.0. We now put some of those extra list to use! Entries are separated into various lists depending on how often are used, and we keep track of previously evicted entries. If the new algorithm is not enabled, most of the code just goes through a different path (with the old code instead of the new one). One notable exception is OpenFollowingEntry, used to enumerate the entries on the cache; the code changed significantly to support the new version of the "cache iterator", but functionally should do the same as the current code. Review URL: http://codereview.chromium.org/27345 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11145 0039d316-1c4b-4281-b951-d872f2087c98 | ||||
* | Use string for Histogram names since these are all ASCII anyway. | dsh@google.com | 2009-02-24 | 1 | -3/+3 |
| | | | | | | | | Wide-character literals cause problems between platforms. Review URL: http://codereview.chromium.org/28046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10276 0039d316-1c4b-4281-b951-d872f2087c98 | ||||
* | Disk cache: move eviction code to a separate file. | rvargas@google.com | 2008-12-18 | 1 | -0/+122 |
There should be no change in behavior with this CL. Review URL: http://codereview.chromium.org/14183 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7190 0039d316-1c4b-4281-b951-d872f2087c98 |