Phase 15: Box BenchMeta separation + ExternalGuard debug + investigation report

- Implement Box BenchMeta pattern in bench_random_mixed.c (BENCH_META_CALLOC/FREE)
- Add enhanced debug logging to external_guard_box.h (caller tracking, FG classification)
- Document investigation in PHASE15_BUG_ANALYSIS.md

Issue: Page-aligned MIDCAND pointer not in SuperSlab registry → ExternalGuard → crash
Hypothesis: May be pre-existing SuperSlab bug (not Phase 15-specific)
Next: Test in Phase 14-C to verify
This commit is contained in:
Moe Charm (CI)
2025-11-15 23:00:21 +09:00
parent cef99b311d
commit d378ee11a0
9 changed files with 785 additions and 40 deletions

View File

@ -31,8 +31,10 @@ hakmem.o: core/hakmem.c core/hakmem.h core/hakmem_build_flags.h \
core/box/../box/../tiny_debug_ring.h core/box/../box/tls_sll_drain_box.h \
core/box/../box/tls_sll_box.h core/box/../box/free_local_box.h \
core/box/../hakmem_tiny_integrity.h core/box/../front/tiny_heap_v2.h \
core/box/../front/../hakmem_tiny.h core/box/front_gate_classifier.h \
core/box/hak_wrappers.inc.h
core/box/../front/../hakmem_tiny.h core/box/../front/tiny_ultra_hot.h \
core/box/../front/../box/tls_sll_box.h core/box/front_gate_v2.h \
core/box/external_guard_box.h core/box/hak_wrappers.inc.h \
core/box/front_gate_classifier.h
core/hakmem.h:
core/hakmem_build_flags.h:
core/hakmem_config.h:
@ -105,5 +107,9 @@ core/box/../box/free_local_box.h:
core/box/../hakmem_tiny_integrity.h:
core/box/../front/tiny_heap_v2.h:
core/box/../front/../hakmem_tiny.h:
core/box/front_gate_classifier.h:
core/box/../front/tiny_ultra_hot.h:
core/box/../front/../box/tls_sll_box.h:
core/box/front_gate_v2.h:
core/box/external_guard_box.h:
core/box/hak_wrappers.inc.h:
core/box/front_gate_classifier.h: