Comparison with apple's xzone malloc

Open
#1,203 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
15/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
c

Research direction

Start by comparing Apple's xzone_malloc implementation at src/xzone_malloc with mimalloc's current behavior. The issue does not identify mimalloc files or tests, and completion would require defining which features are applicable and how they compare; this remains a discussion rather than a bounded change.

Written by the indexing model from the issue text.

Description

I'm starting this discussion here mostly as a conversation starter. Apple open sourced xzone malloc their https://github.com/apple-oss-distributions/libmalloc/tree/libmalloc-792.41.1/src/xzone_malloc which is apparently based on mimalloc itself, I wonder if there are any features that could be brought to mimalloc proper and how they stack up against each other.

Dominant language
C
Stars
13.6k
Forks
1.2k
Avg merge
18h 12m
Merged PRs (30d)
20

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/mimalloc

All issues in microsoft/mimalloc

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.