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

Unified Diff: base/allocator/allocator_interception_mac.h

Issue 2713553002: mac: Periodically shim new malloc zones immediately after startup. (Closed)
Patch Set: Comments from primiano. Created 3 years, 9 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: base/allocator/allocator_interception_mac.h
diff --git a/base/allocator/allocator_interception_mac.h b/base/allocator/allocator_interception_mac.h
index 8867f3823180a9f890c3fb7190ea084a0c128b04..bbbbffc3c4f4ec26a67a052bb8f9113d67897233 100644
--- a/base/allocator/allocator_interception_mac.h
+++ b/base/allocator/allocator_interception_mac.h
@@ -40,6 +40,10 @@ BASE_EXPORT void InterceptAllocationsMac();
// Also calls ClearAllMallocZonesForTesting.
BASE_EXPORT void UninterceptMallocZonesForTesting();
+// Periodically checks for, and shims new malloc zones. Stops checking after 1
+// minute.
+BASE_EXPORT void PeriodicallyShimNewMallocZones();
+
} // namespace allocator
} // namespace base
« no previous file with comments | « no previous file | base/allocator/allocator_interception_mac.mm » ('j') | base/allocator/allocator_interception_mac.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698