Skip to content

Update mimalloc to 3.7.2 - #28469

Open
kleisauke wants to merge 7 commits into
emscripten-core:mainfrom
kleisauke:mimalloc-update-3.7.2
Open

kleisauke wants to merge 7 commits into
emscripten-core:mainfrom
kleisauke:mimalloc-update-3.7.2

Conversation

@kleisauke

Copy link
Copy Markdown
Collaborator

No description provided.

@kleisauke

Copy link
Copy Markdown
Collaborator Author

A trivial patch update. All existing patches are reapplied as-is (see e.g. commit 88c36a1 were these patches were removed and commit e79bd42 were they were reapplied).

I think the "improved emscripten allocation" mentioned in the readme.md refers to microsoft/mimalloc@7bcfcbc (which was only emitted when both mi_option_verbose and mi_option_show_errors were enabled, afaik).

robust against concurrent frees and allocations, improved emscripten allocation, faster aligned allocation (#1527),

Tested with:

$ ./test/runner {core2,wasmfs,wasm64_4gb}.test_wrap_malloc_mimalloc other.test_malloc_size_mimalloc* other.test_malloc_multithreading_mimalloc* other.test_mimalloc_options
Running 8 tests
Using 8 parallel test processes
[8/8] test_malloc_size_mimalloc_O2 (test_other.other.test_malloc_size_mimalloc_O2) ... ok

----------------------------------------------------------------------
Ran 8 tests in 0.950s

OK
Total core time: 3.723s. Wallclock time: 0.957s. Parallelization: 3.89x.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For reference, this file was deleted via microsoft/mimalloc@3b9b992.

@kleisauke

Copy link
Copy Markdown
Collaborator Author

If needed, I can investigate the increase in codesize (it's now larger than it was before PR #28084, though this may still be acceptable).

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant