Phase 6-2.4: Fix SuperSlab free SEGV: remove guess loop and add memory readability check; add registry atomic consistency (base as _Atomic uintptr_t with acq/rel); add debug toggles (SUPER_REG_DEBUG/REQTRACE); update CURRENT_TASK with results and next steps; capture suite results.
This commit is contained in:
@ -229,6 +229,7 @@ extern __thread uint64_t g_malloc_fast_path_null;
|
||||
extern __thread uint64_t g_malloc_slow_path;
|
||||
|
||||
void tiny_fast_print_profile(void) {
|
||||
#ifndef HAKMEM_FORCE_LIBC_ALLOC_BUILD
|
||||
if (!profile_enabled()) return;
|
||||
if (g_tiny_malloc_count == 0 && g_tiny_free_count == 0) return; // No data
|
||||
|
||||
@ -300,4 +301,5 @@ void tiny_fast_print_profile(void) {
|
||||
}
|
||||
|
||||
fprintf(stderr, "===================================================================\n\n");
|
||||
#endif // !HAKMEM_FORCE_LIBC_ALLOC_BUILD
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user