Fix C7 warm/TLS Release path and unify debug instrumentation
This commit is contained in:
@ -25,6 +25,7 @@
|
||||
#include "front/tiny_heap_v2.h"
|
||||
#include "tiny_tls_guard.h"
|
||||
#include "tiny_ready.h"
|
||||
#include "box/c7_meta_used_counter_box.h"
|
||||
#include "hakmem_tiny_tls_list.h"
|
||||
#include "hakmem_tiny_remote_target.h" // Phase 2C-1: Remote target queue
|
||||
#include "hakmem_tiny_bg_spill.h" // Phase 2C-2: Background spill queue
|
||||
@ -334,6 +335,7 @@ static inline void* hak_tiny_alloc_superslab_try_fast(int class_idx) {
|
||||
size_t block_size = tiny_stride_for_class(meta->class_idx);
|
||||
void* block = tls->slab_base + ((size_t)meta->used * block_size);
|
||||
meta->used++;
|
||||
c7_meta_used_note(meta->class_idx, C7_META_USED_SRC_FRONT);
|
||||
// Track active blocks in SuperSlab for conservative reclamation
|
||||
ss_active_inc(tls->ss);
|
||||
return block;
|
||||
|
||||
Reference in New Issue
Block a user