microsoft / microsoft/mimalloc

[feature request] add mallinfo()/mallinfo2() implementations

Open
#601 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
13.4k
Forks
1.2k
Avg merge
4d 45m
Merged PRs (30d)
13

Description

While these functions aren't officially part of the POSIX standard (yet), mallinfo() and mallinfo2() are present in most libc malloc implementations.
It would be nice if mimalloc had a working implementation to make it work as a drop-in replacement for system malloc even in applications that rely on this.
https://man7.org/linux/man-pages/man3/mallinfo.3.html

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start by reading the mallinfo(3) documentation linked in the issue and inspect mimalloc's existing system-malloc compatibility surface. Done means providing working mallinfo() and mallinfo2() implementations so applications relying on these interfaces can use mimalloc as a drop-in replacement.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.