mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-19 00:43:16 +03: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:
parent
a1fcbebb18
commit
c893fcd169
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue