aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2026-04-13 18:53:06 +0200
committerGitHub Enterprise <[email protected]>2026-04-13 18:53:06 +0200
commit85f5c7544ab775600f3c1fe52318078fe13edd39 (patch)
tree387a9903e9c8b0b2016ad943b012b5c36964875b
parentCompute OIDC auth, async Horde agents, and orchestrator improvements (#913) (diff)
downloadzen-85f5c7544ab775600f3c1fe52318078fe13edd39.tar.xz
zen-85f5c7544ab775600f3c1fe52318078fe13edd39.zip
use mimalloc by default (#952)
* make mimalloc default again
-rw-r--r--CHANGELOG.md1
-rw-r--r--src/zencore/memory/memory.cpp4
2 files changed, 3 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c53d5c920..a0f7a79c3 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -24,6 +24,7 @@
- Improvement: Dashboard service stats panes are now always visible on service pages (projects, cache, builds, workspaces) rather than hidden until data arrives
- Improvement: Updated vendored MinIO test server from RELEASE.2025-07-23 to RELEASE.2025-09-07 (HTTP listener bugfixes, ListObject fix)
- Improvement: HTTP client retries on `CURLE_PARTIAL_FILE` (truncated response) and logs the raw curl error code on retry
+- Improvement: Default memory allocator changed back to mimalloc from rpmalloc
- Bugfix: Dashboard stats tiles no longer flicker on page load when WebSocket updates arrive before all stats are available
- Bugfix: Build storage operations now silence HTTP exceptions on aborted requests instead of logging spurious errors
diff --git a/src/zencore/memory/memory.cpp b/src/zencore/memory/memory.cpp
index 9e19c5db7..8dbb04e64 100644
--- a/src/zencore/memory/memory.cpp
+++ b/src/zencore/memory/memory.cpp
@@ -44,10 +44,10 @@ InitGMalloc()
// when using sanitizers, we should use the default/ansi allocator
#if ZEN_OVERRIDE_NEW_DELETE
-# if ZEN_RPMALLOC_ENABLED
+# if ZEN_MIMALLOC_ENABLED
if (Malloc == MallocImpl::None)
{
- Malloc = MallocImpl::Rpmalloc;
+ Malloc = MallocImpl::Mimalloc;
}
# endif
#endif