mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-22 04:03:11 +00:00
Change macOS mmap tag to fix conflict with CoreMedia
Tag 101 is assigned to "CoreMedia Capture Data", which makes for confusing output when debugging.
To avoid conflicts, use a tag in the reserved application-specific range from 240–255 (inclusive).
All assigned tags: 94d3b45284/osfmk/mach/vm_statistics.h (L773-L775)
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
#include <sys/bitops.h> /* ilog2 */
|
||||
#endif
|
||||
#ifdef JEMALLOC_HAVE_VM_MAKE_TAG
|
||||
#define PAGES_FD_TAG VM_MAKE_TAG(101U)
|
||||
#define PAGES_FD_TAG VM_MAKE_TAG(254U)
|
||||
#else
|
||||
#define PAGES_FD_TAG -1
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user