mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-14 22:51:50 +03:00
Fix initialization of pop_attempt_results in bin_batching test
This commit is contained in:
parent
323ed2e3a8
commit
60f472f367
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue