Fix debug build after clean reset
This commit is contained in:
@ -258,6 +258,8 @@ shared_pool_release_slab(SuperSlab* ss, int slab_idx)
|
||||
} else {
|
||||
#if !HAKMEM_BUILD_RELEASE
|
||||
if (dbg == 1) {
|
||||
uint32_t active_blocks = atomic_load_explicit(&ss->total_active_blocks, memory_order_acquire);
|
||||
uint32_t ss_refs = superslab_ref_get(ss);
|
||||
fprintf(stderr,
|
||||
"[SP_SLOT_RELEASE] SKIP free ss=%p: total_active_blocks=%u refcount=%u\n",
|
||||
(void*)ss,
|
||||
|
||||
Reference in New Issue
Block a user