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

Unified Diff: third_party/tcmalloc/README.chromium

Issue 55333002: Make possible to check memory allocations inside chromium (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 2 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/README.chromium
diff --git a/third_party/tcmalloc/README.chromium b/third_party/tcmalloc/README.chromium
index 41bd1602586c03f24f31f797bbf7003df338db7d..12cf79bdd266c3389734bb61b20b5e198894e6a2 100644
--- a/third_party/tcmalloc/README.chromium
+++ b/third_party/tcmalloc/README.chromium
@@ -92,3 +92,5 @@ Modifications:
- Added support for pseudo-stack heap profiling via a callback to retrieve a
simulated stack from the embedding application.
- Inserted spaces around PRIx64, SCNx64 and friends, for c++11 compatibility.
+- Added tc_try_malloc, which is like tc_malloc but it does not call the new handler
+ if the allocation failed but just returns NULL.

Powered by Google App Engine
This is Rietveld 408576698