This is an automated email from the ASF dual-hosted git repository.
raulcd pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new f0beefb1f9 GH-49772: [C++] Bump bundled mimalloc version (#49801)
f0beefb1f9 is described below
commit f0beefb1f93855e5c26526259b965c6f0e75503c
Author: Raúl Cumplido <[email protected]>
AuthorDate: Tue May 5 10:13:57 2026 +0200
GH-49772: [C++] Bump bundled mimalloc version (#49801)
### Rationale for this change
mimalloc 3.3.1 was released with a bunch of potentially useful improvements
or fixes.
### What changes are included in this PR?
Bump bundled mimalloc to 3.3.1
### Are these changes tested?
Yes, via Archery
### Are there any user-facing changes?
No
* GitHub Issue: #49772
Lead-authored-by: Raúl Cumplido <[email protected]>
Co-authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Raúl Cumplido <[email protected]>
---
cpp/cmake_modules/ThirdpartyToolchain.cmake | 1 +
cpp/thirdparty/versions.txt | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/cpp/cmake_modules/ThirdpartyToolchain.cmake
b/cpp/cmake_modules/ThirdpartyToolchain.cmake
index cc632a62fe..28d9b350b3 100644
--- a/cpp/cmake_modules/ThirdpartyToolchain.cmake
+++ b/cpp/cmake_modules/ThirdpartyToolchain.cmake
@@ -2431,6 +2431,7 @@ if(ARROW_MIMALLOC)
set(MIMALLOC_C_FLAGS ${EP_C_FLAGS})
if(MINGW)
# Workaround https://github.com/microsoft/mimalloc/issues/910 on RTools40
+ # This is still required as of mimalloc 3.3.1, tested as part of GH-49772
set(MIMALLOC_C_FLAGS "${MIMALLOC_C_FLAGS} -DERROR_COMMITMENT_MINIMUM=635")
endif()
diff --git a/cpp/thirdparty/versions.txt b/cpp/thirdparty/versions.txt
index 82a780285e..3af4a10a50 100644
--- a/cpp/thirdparty/versions.txt
+++ b/cpp/thirdparty/versions.txt
@@ -80,8 +80,8 @@ ARROW_JEMALLOC_BUILD_VERSION=5.3.0
ARROW_JEMALLOC_BUILD_SHA256_CHECKSUM=2db82d1e7119df3e71b7640219b6dfe84789bc0537983c3b7ac4f7189aecfeaa
ARROW_LZ4_BUILD_VERSION=v1.10.0
ARROW_LZ4_BUILD_SHA256_CHECKSUM=537512904744b35e232912055ccf8ec66d768639ff3abe5788d90d792ec5f48b
-ARROW_MIMALLOC_BUILD_VERSION=v3.2.7
-ARROW_MIMALLOC_BUILD_SHA256_CHECKSUM=33621bea902711639b8f83128e64685ffc8224a65443625530747603a2d8726d
+ARROW_MIMALLOC_BUILD_VERSION=v3.3.1
+ARROW_MIMALLOC_BUILD_SHA256_CHECKSUM=42c16914168ac6741eeb407e83b93a12b2b7ee25a7e14e6b4807fab8b577a540
ARROW_NLOHMANN_JSON_BUILD_VERSION=v3.12.0
ARROW_NLOHMANN_JSON_BUILD_SHA256_CHECKSUM=4b92eb0c06d10683f7447ce9406cb97cd4b453be18d7279320f7b2f025c10187
ARROW_OPENTELEMETRY_BUILD_VERSION=v1.21.0