From 346a5db12ded4276e31fb77d9b513f2e6b1f3f93 Mon Sep 17 00:00:00 2001 From: daanx Date: Mon, 20 Jul 2026 16:58:28 -0700 Subject: [PATCH 1/5] potential fix for issue #1336 --- src/prim/osx/alloc-override-zone.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/prim/osx/alloc-override-zone.c b/src/prim/osx/alloc-override-zone.c index 0aa6cc7d2..fe8da341c 100644 --- a/src/prim/osx/alloc-override-zone.c +++ b/src/prim/osx/alloc-override-zone.c @@ -226,6 +226,8 @@ static malloc_introspection_t mi_introspect = { #if defined(MAC_OS_X_VERSION_10_6) && (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6) && !defined(__ppc__) .statistics = &intro_statistics, .zone_locked = &intro_zone_locked, +#endif +#if defined(MAC_OS_X_VERSION_10_12) && (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_12) && !defined(__ppc__) .reinit_lock = &intro_reinit_lock, #endif }; From 8bb1fb6a86375810a948a854409aff7c58f2df80 Mon Sep 17 00:00:00 2001 From: daanx Date: Mon, 20 Jul 2026 16:59:44 -0700 Subject: [PATCH 2/5] update readme for interim release v3.4.2 --- readme.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 374b6d48e..2c236e2b7 100644 --- a/readme.md +++ b/readme.md @@ -15,7 +15,7 @@ is a general purpose allocator with excellent [performance](#performance) charac Initially developed by Daan Leijen for the runtime systems of the [Koka](https://koka-lang.github.io) and [Lean](https://github.com/leanprover/lean) languages. -Latest release : `v3.4.1` (2026-07-14) recommended. +Latest release : `v3.4.2` (2026-07-20) recommended. Latest v2 release: `v2.4.1` (2026-07-14) stable. Latest v1 release: `v1.9.11` (2026-07-14) legacy. @@ -88,6 +88,7 @@ New development is mostly on v3, while v1 and v2 are maintained with security an - __v1__: legacy version: initial design of mimalloc (release tags: `v1.9.x`, development branch `dev`). Send PR's against this version if possible. ### Releases +* 2026-07-20, `v3.4.2`: revert TLS slots on macOS to 108/109 (issue #1333). * 2026-07-14, `v1.9.11`, `v2.4.1`, `v3.4.1`: various bug and security fixes through LLM audit (by @Zoxc). Fix issue with using OS memory instead of arenas for > 4GiB memory usage (v3), fix concurrency bug in concurrent heap destroy (v3), detect riscV virtual address bits at runtime, add riscV TLS support, reduce spinlock waits (v2), From 0ed6078990150049915ec1dcfac3949ebb110bcc Mon Sep 17 00:00:00 2001 From: daanx Date: Mon, 20 Jul 2026 17:05:00 -0700 Subject: [PATCH 3/5] update for release v3.4.2 --- .github/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index db0b7ca3f..131cfeb25 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -9,7 +9,7 @@ permissions: contents: write env: - RELEASE: Release v3.4.1 + RELEASE: Release v3.4.2 FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true name: Release @@ -19,7 +19,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - branch: [v1.9.11,v2.4.1,v3.4.1] # [dev,dev2,dev3] + branch: [v3.4.2] # [dev,dev2,dev3] # we build on the oldest ubuntu version for better binary compatibility. os: [windows-latest, macOS-latest, macos-15-intel, ubuntu-22.04, ubuntu-22.04-arm] From 3cfe95b7f11ce6eededb4f54a8b1def84c93b7e4 Mon Sep 17 00:00:00 2001 From: daanx Date: Mon, 20 Jul 2026 17:08:26 -0700 Subject: [PATCH 4/5] update for v3.4.3 release --- readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index 2c236e2b7..8a86a73b4 100644 --- a/readme.md +++ b/readme.md @@ -15,7 +15,7 @@ is a general purpose allocator with excellent [performance](#performance) charac Initially developed by Daan Leijen for the runtime systems of the [Koka](https://koka-lang.github.io) and [Lean](https://github.com/leanprover/lean) languages. -Latest release : `v3.4.2` (2026-07-20) recommended. +Latest release : `v3.4.3` (2026-07-20) recommended. Latest v2 release: `v2.4.1` (2026-07-14) stable. Latest v1 release: `v1.9.11` (2026-07-14) legacy. @@ -88,7 +88,7 @@ New development is mostly on v3, while v1 and v2 are maintained with security an - __v1__: legacy version: initial design of mimalloc (release tags: `v1.9.x`, development branch `dev`). Send PR's against this version if possible. ### Releases -* 2026-07-20, `v3.4.2`: revert TLS slots on macOS to 108/109 (issue #1333). +* 2026-07-20, `v3.4.3`: revert TLS slots on macOS to 108/109 (issue #1333). * 2026-07-14, `v1.9.11`, `v2.4.1`, `v3.4.1`: various bug and security fixes through LLM audit (by @Zoxc). Fix issue with using OS memory instead of arenas for > 4GiB memory usage (v3), fix concurrency bug in concurrent heap destroy (v3), detect riscV virtual address bits at runtime, add riscV TLS support, reduce spinlock waits (v2), From 4f210bd86adc9df9f043d4067bc277e591159381 Mon Sep 17 00:00:00 2001 From: daanx Date: Mon, 20 Jul 2026 17:11:40 -0700 Subject: [PATCH 5/5] update release yaml to v3.4.3 --- .github/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 131cfeb25..d57a14d0e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -9,7 +9,7 @@ permissions: contents: write env: - RELEASE: Release v3.4.2 + RELEASE: Release v3.4.3 FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true name: Release @@ -19,7 +19,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - branch: [v3.4.2] # [dev,dev2,dev3] + branch: [v3.4.3] # [dev,dev2,dev3] # we build on the oldest ubuntu version for better binary compatibility. os: [windows-latest, macOS-latest, macos-15-intel, ubuntu-22.04, ubuntu-22.04-arm]