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

Unified Diff: third_party/tcmalloc/chromium/src/common.h

Issue 10499004: 1. A small fix of Windows VM size. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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 | third_party/tcmalloc/chromium/src/common.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/tcmalloc/chromium/src/common.h
===================================================================
--- third_party/tcmalloc/chromium/src/common.h (revision 138851)
+++ third_party/tcmalloc/chromium/src/common.h (working copy)
@@ -248,10 +248,12 @@
// Returns the total number of bytes allocated from the system.
// Requires pageheap_lock is held.
uint64_t metadata_system_bytes();
+uint64_t metadata_unmapped_bytes();
// Adjust metadata_system_bytes to indicate that bytes are actually committed.
// Requires pageheap_lock is held.
-void increment_metadata_system_bytes(size_t bytes);
+void update_metadata_system_bytes(int diff);
+void update_metadata_unmapped_bytes(int diff);
// size/depth are made the same size as a pointer so that some generic
// code below can conveniently cast them back and forth to void*.
« no previous file with comments | « no previous file | third_party/tcmalloc/chromium/src/common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698