mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-06-02 18:24:17 +03:00
Per-bin SEC stats (bytes_cur, nmisses, nhits, ndalloc_flush, ndalloc_noflush, noverfills) become atomic_zu_t fields directly inside sec_bin_t. Writers continue to hold bin->mtx; sec_stats_merge now reads them lock-free with ATOMIC_RELAXED instead of acquiring bin->mtx. This removes a lock-rank reversal that would otherwise occur whenever stats aggregation runs while holding arena->stats.mtx. |
||
|---|---|---|
| .. | ||
| jemalloc | ||
| msvc_compat | ||