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

Unified Diff: third_party/tcmalloc/vendor/src/google/malloc_extension_c.h

Issue 7430002: Update the tcmalloc vendor branch to r111 (perftools version 1.8) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 5 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
Index: third_party/tcmalloc/vendor/src/google/malloc_extension_c.h
===================================================================
--- third_party/tcmalloc/vendor/src/google/malloc_extension_c.h (revision 92996)
+++ third_party/tcmalloc/vendor/src/google/malloc_extension_c.h (working copy)
@@ -80,6 +80,18 @@
PERFTOOLS_DLL_DECL size_t MallocExtension_GetEstimatedAllocatedSize(size_t size);
PERFTOOLS_DLL_DECL size_t MallocExtension_GetAllocatedSize(void* p);
+/*
+ * NOTE: These enum values MUST be kept in sync with the version in
+ * malloc_extension.h
+ */
+typedef enum {
+ MallocExtension_kUnknownOwnership = 0,
+ MallocExtension_kOwned,
+ MallocExtension_kNotOwned
+} MallocExtension_Ownership;
+
+PERFTOOLS_DLL_DECL MallocExtension_Ownership MallocExtension_GetOwnership(const void* p);
+
#ifdef __cplusplus
} // extern "C"
#endif
« no previous file with comments | « third_party/tcmalloc/vendor/src/google/malloc_extension.h ('k') | third_party/tcmalloc/vendor/src/google/malloc_hook.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698