Files
hakmem/core/box/smallsegment_v4_box.h
Moe Charm (CI) 2a13478dc7 Optimize C6 heavy and C7 ultra performance analysis with refined design refinements
- Update environment profile presets and visibility analysis
- Enhance small object and tiny segment v4 box implementations
- Refine C7 ultra and C6 heavy allocation strategies
- Add comprehensive performance metrics and design documentation

🤖 Generated with Claude Code

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2025-12-10 22:57:26 +09:00

12 lines
622 B
C

// smallsegment_v4_box.h - Small-object専用 Segment Box の宣言だけを置く足場
// Phase PF2: 挙動はまだ変えず、型と API だけを先行定義する。
#pragma once
typedef struct small_segment_v4 small_segment_v4;
// class_idx ごとに小さな Segment を確保/再利用する想定。
// Phase PF3: Superslab/Tiny v1 からの lease を経由してページを供給する。
small_segment_v4* smallsegment_v4_acquire(int class_idx);
void* smallsegment_v4_alloc_page(small_segment_v4* seg, int class_idx);
void smallsegment_v4_release_if_empty(small_segment_v4* seg, void* page, int class_idx);