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

Unified Diff: third_party/tcmalloc/chromium/src/system-alloc.h

Issue 8570023: Add a guard page in front of metadata allocations. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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/chromium/src/system-alloc.h
===================================================================
--- third_party/tcmalloc/chromium/src/system-alloc.h (revision 110522)
+++ third_party/tcmalloc/chromium/src/system-alloc.h (working copy)
@@ -77,6 +77,8 @@
// function to fail.
extern void TCMalloc_SystemCommit(void* start, size_t length);
+extern size_t TCMalloc_SystemAddGuard(void* start);
jar (doing other things) 2011/11/23 23:46:14 Add comment on return value.
jschuh 2011/11/24 00:05:26 Done.
+
// The current system allocator.
extern PERFTOOLS_DLL_DECL SysAllocator* sys_alloc;

Powered by Google App Engine
This is Rietveld 408576698