summaryrefslogtreecommitdiffstats
path: root/net/data/valgrind
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-27 17:49:42 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-27 17:49:42 +0000
commit67b09ecdd8769cd291dbd0e52e73826771cf29b5 (patch)
tree7d11e7c41d0f448767a0676091f714a2d6712991 /net/data/valgrind
parent0bad9b1895f6f0264527a9986044d9d1ee9152b1 (diff)
downloadchromium_src-67b09ecdd8769cd291dbd0e52e73826771cf29b5.zip
chromium_src-67b09ecdd8769cd291dbd0e52e73826771cf29b5.tar.gz
chromium_src-67b09ecdd8769cd291dbd0e52e73826771cf29b5.tar.bz2
Disk cache: For an AppCache, now we only update the
LRU list when an entry is created. This means that we don't update the list anymore when an entry is accessed, even if we are writing to the entry. The general idea is that now we should be able to open an AppCache and read from it without modifying the contents of the cache, so that if the browser crashes, we won't find "dirty" entries to discard. By minimizing writes to the LRU list, we reduce the chances that the list will get corrupt beyond the point where we cannot trust it anymore if the whole system crashes (and not just the browser). BUG=51870 TEST=net_unittests Review URL: http://codereview.chromium.org/3186032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57697 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/data/valgrind')
-rw-r--r--net/data/valgrind/net_unittests.gtest-memcheck.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/data/valgrind/net_unittests.gtest-memcheck.txt b/net/data/valgrind/net_unittests.gtest-memcheck.txt
index 458ddef..e7f42dd 100644
--- a/net/data/valgrind/net_unittests.gtest-memcheck.txt
+++ b/net/data/valgrind/net_unittests.gtest-memcheck.txt
@@ -2,6 +2,9 @@
# Similar list in ../purify/net_unittests.exe.gtest.txt
# TODO(dkegel): either merge the two files or keep them in sync,
# see http://code.google.com/p/chromium/issues/detail?id=8951
+DiskCacheBackendTest.AppCacheInvalidEntry
+DiskCacheBackendTest.AppCacheInvalidEntryRead
+DiskCacheBackendTest.AppCacheInvalidEntryWithLoad
DiskCacheBackendTest.InvalidEntry
DiskCacheBackendTest.InvalidEntryRead
DiskCacheBackendTest.InvalidEntryWithLoad