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

Unified Diff: net/disk_cache/trace.cc

Issue 12207084: Make DiskCacheTest.MultipleInstances pass in net_unittests on Windows 64-bit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: command fix for 64bit memory usage Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/trace.cc
diff --git a/net/disk_cache/trace.cc b/net/disk_cache/trace.cc
index 15c083d849e8d68b087d38b5c2810e310afe78d3..ae0aa1a05b9016409b64c8dc03677eb0c6324648 100644
--- a/net/disk_cache/trace.cc
+++ b/net/disk_cache/trace.cc
@@ -23,11 +23,11 @@
namespace {
-const int kEntrySize = 48;
+const int kEntrySize = 12 * sizeof(size_t);
#if defined(NET_BUILD_STRESS_CACHE)
const int kNumberOfEntries = 500000;
#else
-const int kNumberOfEntries = 5000; // 240 KB.
+const int kNumberOfEntries = 5000; // 240 KB on 32bit, 480 KB on 64bit
#endif
bool s_trace_enabled = false;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698