You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support malloc-zone for non-Darwin OS for debug heap breakdown
Darwin OS allows using malloc-zone for heap breakdown for finer
granularity. The changes allow use of malloc-zone via a library
implementing the required interface for non-Darwin platforms.
Original author: Andrzej Surdej <Andrzej_Surdej@comcast.com>
Copy file name to clipboardExpand all lines: Source/bmalloc/bmalloc/BPlatform.h
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -331,7 +331,9 @@
331
331
#endif
332
332
333
333
/* Enable this to put each IsoHeap and other allocation categories into their own malloc heaps, so that tools like vmmap can show how big each heap is. */
334
+
#if !defined(BENABLE_MALLOC_HEAP_BREAKDOWN)
334
335
#defineBENABLE_MALLOC_HEAP_BREAKDOWN 0
336
+
#endif
335
337
336
338
/* This is used for debugging when hacking on how bmalloc calculates its physical footprint. */
0 commit comments