diff options
| author | Dan Engelbrecht <[email protected]> | 2026-04-13 18:53:06 +0200 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2026-04-13 18:53:06 +0200 |
| commit | 85f5c7544ab775600f3c1fe52318078fe13edd39 (patch) | |
| tree | 387a9903e9c8b0b2016ad943b012b5c36964875b | |
| parent | Compute OIDC auth, async Horde agents, and orchestrator improvements (#913) (diff) | |
| download | zen-85f5c7544ab775600f3c1fe52318078fe13edd39.tar.xz zen-85f5c7544ab775600f3c1fe52318078fe13edd39.zip | |
use mimalloc by default (#952)
* make mimalloc default again
| -rw-r--r-- | CHANGELOG.md | 1 | ||||
| -rw-r--r-- | src/zencore/memory/memory.cpp | 4 |
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 |