-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Update mimalloc to 2.2.4 #24542
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Update mimalloc to 2.2.4 #24542
Conversation
This got me thinking, perhaps we should migrate this to a submodule? I'm not sure it's feasible for the |
Emscripten already uses a couple of submodules (today they are only for developers / testing) but it should be fine to start using them more. However, we already include copies of musl / libc++ / compiler-rt and libc++abi, so converting this tiny library to a submodule would not make much difference to amount of verbatim copying we have. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm if the tests pass.
Is this the latest official release?
Yes, this is the latest stable (non-beta) release. See e.g. https://github.com/microsoft/mimalloc/tags (v3.1.4 is still in beta). |
@@ -196,7 +201,7 @@ bool _mi_prim_random_buf(void* buf, size_t buf_len) { | |||
// Thread init/done | |||
//---------------------------------------------------------------- | |||
|
|||
#ifdef __EMSCRIPTEN_SHARED_MEMORY__ | |||
#if defined(MI_USE_PTHREADS) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No description provided.