Skip to content

chore(deps): update mimalloc (v2) submodule to v2.5.1 - #98

Merged
Brooooooklyn merged 1 commit into
mainfrom
chore/mimalloc-v2.5.1
Sep 4, 2026
Merged

chore(deps): update mimalloc (v2) submodule to v2.5.1#98
Brooooooklyn merged 1 commit into
mainfrom
chore/mimalloc-v2.5.1

Conversation

@Brooooooklyn

@Brooooooklyn Brooooooklyn commented Sep 4, 2026

Copy link
Copy Markdown
Member

Changes

Verification

  • macOS: cargo test 6/6, cargo test --features secure 6/6, cargo test --features extended 8/8, libmimalloc-sys-test 258/258 (default and secure).
  • Linux (Docker arm64, glibc 2.36, node 22, debug + release builds of example/ on the v2 tree): the worker-first repro from fix(sys): mimalloc3 v3.5.1 + fix for the process-init thread's thread-done hook #97 passes (1 / 64 / 64+4 concurrent workers; Rust threads that reuse the dead worker's TCB 64/64 times), as expected for v2, which still associates the process-init thread with the thread-done key. cargo test 6/6, cargo test --features secure 6/6, libmimalloc-sys-test 258/258 (default and secure).

🤖 Generated with Claude Code

https://claude.ai/code/session_01T34fMrYCf2V13Mg8BKmnda


Note

Low Risk
Submodule-only dependency bump with upstream reporting no allocator source changes; Rust integration is untouched.

Overview
Bumps the default mimalloc v2 git submodule (libmimalloc-sys/c_src/mimalloc) from v2.5.0 to v2.5.1. This is a pointer-only change in this repo: build.rs, Rust sources, and the v3 submodule are unchanged.

Upstream v2.5.1 is build/CI-focused (tri-state MI_USE_CXX, clang-cl ldar/stlr workaround in atomic.h, C-mode MSVC builds, pinned actions, MI_MALLOC_VERSION 20501). No mimalloc allocator implementation files changed in that release.

Reviewed by Cursor Bugbot for commit ed0f9ad. Bugbot is set up for automated code reviews on this repo. Configure here.

Routine bump of the default (non-`v3`) tree, `989c8ebc` (v2.5.0) →
`1e884db2` (v2.5.1, 2026-09-01). Upstream changes are build-only:
`MI_USE_CXX` becomes a tri-state cmake option defaulting to the previous
behavior, a clang-cl workaround in `include/mimalloc/atomic.h` (#1379),
CI pins/dependabot, and `MI_MALLOC_VERSION` 20501. No allocator source
changed; the v2 line was never affected by the process-init thread
thread-done gap fixed for v3 in #97.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T34fMrYCf2V13Mg8BKmnda
@cursor

cursor Bot commented Sep 4, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_beb3cb0c-58c8-4536-81f7-b6d6a58216f1)

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 4, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-04T15:28:43.627034Z ed0f9ad PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Brooooooklyn
Brooooooklyn merged commit 2ed5306 into main Sep 4, 2026
21 checks passed
@Brooooooklyn
Brooooooklyn deleted the chore/mimalloc-v2.5.1 branch September 4, 2026 15:30
@github-actions github-actions Bot mentioned this pull request Sep 4, 2026
Brooooooklyn pushed a commit that referenced this pull request Sep 4, 2026
## 🤖 New release

* `libmimalloc-sys2`: 0.1.61 -> 0.1.62 (✓ API compatible changes)
* `mimalloc-safe`: 0.1.65 -> 0.1.66 (✓ API compatible changes)

<details><summary><i><b>Changelog</b></i></summary><p>

## `libmimalloc-sys2`

<blockquote>

## [0.1.62] - 2026-09-04

### Bug Fixes

- *(sys)* Mimalloc3 v3.5.1 + fix for the process-init thread's
thread-done hook
([#97](#97))

### Chore

- *(deps)* Update mimalloc (v2) submodule to v2.5.1
([#98](#98))
</blockquote>

## `mimalloc-safe`

<blockquote>

## [0.1.66] - 2026-09-04

### Bug Fixes

- *(sys)* Mimalloc3 v3.5.1 + fix for the process-init thread's
thread-done hook
([#97](#97))

### Chore

- *(deps)* Update dependency @napi-rs/cli to v3.9.0
([#94](#94))
- *(deps)* Update dependency @emnapi/core to v2.0.0-alpha.5
([#95](#95))
- *(deps)* Update dependency @emnapi/runtime to v2.0.0-alpha.5
([#96](#96))
- *(deps)* Update mimalloc (v2) submodule to v2.5.1
([#98](#98))
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/release-plz/release-plz/).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@github-actions github-actions Bot mentioned this pull request Sep 4, 2026
Brooooooklyn pushed a commit that referenced this pull request Sep 4, 2026
## 🤖 New release

* `libmimalloc-sys2`: 0.1.61 -> 0.1.62
* `mimalloc-safe`: 0.1.65 -> 0.1.66

<details><summary><i><b>Changelog</b></i></summary><p>

## `libmimalloc-sys2`

<blockquote>

## [0.1.62] - 2026-09-04

### Bug Fixes

- *(sys)* Mimalloc3 v3.5.1 + fix for the process-init thread's
thread-done hook
([#97](#97))

### Chore

- *(deps)* Update mimalloc (v2) submodule to v2.5.1
([#98](#98))
</blockquote>

## `mimalloc-safe`

<blockquote>

## [0.1.66] - 2026-09-04

### Bug Fixes

- *(sys)* Mimalloc3 v3.5.1 + fix for the process-init thread's
thread-done hook
([#97](#97))

### Chore

- *(deps)* Update dependency @napi-rs/cli to v3.9.0
([#94](#94))
- *(deps)* Update dependency @emnapi/core to v2.0.0-alpha.5
([#95](#95))
- *(deps)* Update dependency @emnapi/runtime to v2.0.0-alpha.5
([#96](#96))
- *(deps)* Update mimalloc (v2) submodule to v2.5.1
([#98](#98))
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/release-plz/release-plz/).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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