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

Unified Diff: base/allocator/allocator_interception_mac.h

Issue 2713553002: mac: Periodically shim new malloc zones immediately after startup. (Closed)
Patch Set: Rebase. Created 3 years, 10 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 | base/allocator/allocator_interception_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/allocator/allocator_interception_mac.h
diff --git a/base/allocator/allocator_interception_mac.h b/base/allocator/allocator_interception_mac.h
index f0d945132baec8d837e182f922eaab5e6ad6be1b..0c74f0984d386c5cf3e6e74be5c2134e7c800adc 100644
--- a/base/allocator/allocator_interception_mac.h
+++ b/base/allocator/allocator_interception_mac.h
@@ -35,6 +35,10 @@ bool UncheckedCallocMac(size_t num_items, size_t size, void** result);
// Has no effect on the default malloc zone if the allocator shim already
// performs that interception.
BASE_EXPORT void InterceptAllocationsMac();
+
+// Periodically checks for, and shims new malloc zones.
Mark Mentovai 2017/02/23 02:26:17 This has an expiration date on it, which is kind o
erikchen 2017/04/03 06:44:41 Done.
+BASE_EXPORT void PeriodicallyShimNewMallocZones();
Mark Mentovai 2017/02/23 02:26:17 And this one only does what it says if a certain c
Primiano Tucci (use gerrit) 2017/02/23 14:41:57 +1, or alternatively you can move the cmdline chec
erikchen 2017/04/03 06:44:41 I did what primiano suggested.
+
} // namespace allocator
} // namespace base
« no previous file with comments | « no previous file | base/allocator/allocator_interception_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698