Phase v4-mid-0: Small-object v4 型・IF 足場(箱化モジュール化)
- SmallHeapCtx/SmallPageMeta/SmallClassHeap typedef alias 追加 - SmallSegment struct (base/num_pages/owner_tid/magic) を smallsegment_v4_box.h に定義 - SmallColdIface_v4 direct function prototypes (refill/retire/remote_push/drain) - smallobject_hotbox_v4.c の internal/public API 分離(small_segment_v4_internal) - direct function stubs 実装(SmallColdIfaceV4 delegate 形式) - ENV OFF デフォルト(ENABLED=0/CLASSES=0)で既存挙動 100% 不変 - ビルド成功・sanity 確認(mixed/C6-heavy、segv/assert なし) - CURRENT_TASK.md に Phase v4-mid-0 記録 🤖 Generated with Claude Code Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
@ -45,6 +45,11 @@ typedef struct small_heap_ctx_v4 {
|
||||
} small_heap_ctx_v4;
|
||||
|
||||
// TLS accessor (実装は後続フェーズで追加)
|
||||
// SmallPageMeta を external で使う場合のエイリアス
|
||||
typedef small_page_v4 SmallPageMeta;
|
||||
typedef small_class_heap_v4 SmallClassHeap;
|
||||
typedef small_heap_ctx_v4 SmallHeapCtx;
|
||||
|
||||
small_heap_ctx_v4* small_heap_ctx_v4_get(void);
|
||||
|
||||
// Hot path API (C7-only stub; later phases will expand)
|
||||
|
||||
Reference in New Issue
Block a user