Phase v7-2: SmallObject v7 C6-only implementation with RegionIdBox integration
- SmallSegment_v7: 2MiB segment with TLS slot and free page stack - ColdIface_v7: Page refill/retire between HotBox and SegmentBox - HotBox_v7: Full C6-only alloc/free with header writing (HEADER_MAGIC|class_idx) - Free path early-exit: Check v7 route BEFORE ss_fast_lookup (separate mmap segment) - RegionIdBox: Register v7 segment for ptr->region lookup - Benchmark: v7 ON ~54.5M ops/s (-7% overhead vs 58.6M legacy baseline) v7 correctly balances alloc/free counts and page lifecycle. RegionIdBox overhead identified as primary cost driver. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
@ -17,6 +17,7 @@ typedef struct FreePathStats {
|
||||
uint64_t c4_ultra_alloc_hit; // Phase 6: C4 ULTRA-alloc (TLS pop)
|
||||
uint64_t smallheap_v3_fast;
|
||||
uint64_t smallheap_v6_fast;
|
||||
uint64_t smallheap_v7_fast; // Phase v7-2: SmallHeap v7 fast free
|
||||
uint64_t tiny_heap_v1_fast;
|
||||
uint64_t pool_v1_fast;
|
||||
uint64_t remote_free;
|
||||
|
||||
Reference in New Issue
Block a user