microsoft / microsoft/mimalloc

v3.2.6 released, test on Android please

Open
#1,191 10 comments 4 reactions 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

I just released an update to v3 as v3.2.6. This has "true" first-class heaps that can be used from any thread to allocate on. It also has improved the thread-local access (especially on Windows), but this is not yet tested on Android. If anyone can try v3.2.6 on Android and report back that would be great.

* On Android, the default is currently to use thread locals but that used to have problems with recursion during initialization. If you run into trouble, please modify `include\mimalloc\prim.h`, line 359, to uncomment the `// || defined(__ANDROID__)` clause to try if it works with pthreads (as before).
* On macOS we now use slots 108 and 109 as it seems on the latest releases "our" slot 89 is now used by Apple again. Hopefully, 108/109 are unused but let me know if you run into issues.

Thanks! Daan

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 testing the v3.2.6 release on Android, focusing on first-class heaps from any thread and the improved thread-local access. If initialization recursion causes trouble, inspect include\mimalloc\prim.h at line 359 and try the documented pthreads clause. Done means reporting whether the release works and noting any Android failures or workaround results.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, c
Domain
mobile-dev, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.