Chromium Code Reviews| Index: third_party/tcmalloc/chromium/src/packed-cache-inl.h |
| =================================================================== |
| --- third_party/tcmalloc/chromium/src/packed-cache-inl.h (revision 89657) |
| +++ third_party/tcmalloc/chromium/src/packed-cache-inl.h (working copy) |
| @@ -139,7 +139,9 @@ |
| // Decrease the size map cache if running in the small memory mode. |
| static const int kHashbits = 12; |
| #else |
| - static const int kHashbits = 16; |
| + // We don't want the hash map to occupy 512K memory at Chromium, so |
| + // kHashbits is decreased from 16 to 12. |
|
jar (doing other things)
2011/06/20 16:45:02
Question: Rather than forking this file, why don't
|
| + static const int kHashbits = 12; |
| #endif |
| static const int kValuebits = 7; |
| static const bool kUseWholeKeys = kKeybits + kValuebits <= 8 * sizeof(T); |