mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-22 04:03:11 +00:00
Fix initialization of pop_attempt_results in bin_batching test
This commit is contained in:
committed by
Qi Wang
parent
323ed2e3a8
commit
60f472f367
@@ -118,7 +118,8 @@ stress_run(void (*main_thread_fn)(), int nruns) {
|
||||
bin_batching_test_after_unlock_hook = &increment_slab_dalloc_count;
|
||||
|
||||
atomic_store_zu(&push_failure_count, 0, ATOMIC_RELAXED);
|
||||
atomic_store_zu(&pop_attempt_results[2], 0, ATOMIC_RELAXED);
|
||||
atomic_store_zu(&pop_attempt_results[0], 0, ATOMIC_RELAXED);
|
||||
atomic_store_zu(&pop_attempt_results[1], 0, ATOMIC_RELAXED);
|
||||
atomic_store_zu(&dalloc_zero_slab_count, 0, ATOMIC_RELAXED);
|
||||
atomic_store_zu(&dalloc_nonzero_slab_count, 0, ATOMIC_RELAXED);
|
||||
atomic_store_zu(&dalloc_nonempty_list_count, 0, ATOMIC_RELAXED);
|
||||
|
||||
Reference in New Issue
Block a user