New issue
Advanced search Search tips

Issue 897152 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Tracker bug for discussion to use libmalloc or alternatives on macOS

Project Member Reported by erikc...@chromium.org, Oct 19

Issue description

On macOS, we currently use libmalloc. We could roll our own allocator: e.g. tcmalloc, jemalloc, etc. I'm not aware of any significant evaluation of tradeoffs.

libmalloc doesn't work well with cross-thread frees:
https://bugs.chromium.org/p/chromium/issues/detail?id=897064

libmalloc's implementation of nanozone doesn't free memory on 10.13 and older:
https://bugs.chromium.org/p/chromium/issues/detail?id=861939#c15
 

Sign in to add a comment